Class RegistrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ntu.fdae.group1.bto.exceptions.RegistrationException
- All Implemented Interfaces:
Serializable
Custom exception class for handling registration-related errors in the BTO
system.
This exception is thrown when there are issues during user registration processes, such as validation failures, duplicate registrations, or system errors that prevent successful registration.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRegistrationException
(String message) Constructs a new registration exception with the specified detail message.RegistrationException
(String message, Throwable cause) Constructs a new registration exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RegistrationException
Constructs a new registration exception with the specified detail message.- Parameters:
message
- the detail message describing the exception
-
RegistrationException
Constructs a new registration exception with the specified detail message and cause.- Parameters:
message
- the detail message describing the exceptioncause
- the underlying cause of the exception
-