Class InvalidPassportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.markvarga21.studentmanager.exception.InvalidPassportException
- All Implemented Interfaces:
Serializable
A custom exception which is used if an error occurs when
processing the passport.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidPassportException
(String message) Constructor with a feedback message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPassportException
Constructor with a feedback message.- Parameters:
message
- The custom message.
-