Class UserNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.user.exception.UserNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when a requested user does not exist in the system.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserNotFoundException(Exception cause) Constructs a new UserNotFoundException with a default 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
Constructs a new UserNotFoundException with a default message.- Parameters:
cause- the underlying cause of the exception
-