Class UserNotExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityNotExistsException
cz.metacentrum.perun.core.api.exceptions.UserNotExistsException
- All Implemented Interfaces:
Serializable
Thrown when the user has not been found in the database
- Author:
- Martin Kuba
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserNotExistsException
(User user) Constructor with the userUserNotExistsException
(String message) Simple constructor with a messageUserNotExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectUserNotExistsException
(Throwable cause) Constructor with a Throwable object -
Method Summary
Methods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserNotExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
UserNotExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
UserNotExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
UserNotExistsException
Constructor with the user- Parameters:
user
- user who does not exist
-
-
Method Details
-
getUser
Getter for the user- Returns:
- user who does not exist
-