Class UserNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
exception.UserNotFoundException
- All Implemented Interfaces:
Serializable
Custom checked exception thrown when an operation attempts to find, authenticate, or operate on
a user using an identifier (User ID) that does not correspond to any existing user
in the system's data stores (e.g.,
ApplicantList, OfficerList, ManagerList).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newUserNotFoundExceptionwith a default detail 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
-
UserNotFoundException
public UserNotFoundException()Constructs a newUserNotFoundExceptionwith a default detail message. The default message is "No user with this ID.".
-