Package org.ametys.web.usermanagement
Class UserManagementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ametys.web.usermanagement.UserManagementException
- All Implemented Interfaces:
Serializable
User management exception, used whenever there is an error specific to user management.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration for user management exception error cause -
Constructor Summary
ConstructorDescriptionUser management exception.UserManagementException
(String message) User management exception.UserManagementException
(String message, Throwable cause) User management exception.UserManagementException
(String message, UserManagementException.StatusError error) User management exception.UserManagementException
(String message, UserManagementException.StatusError error, Throwable cause) User management exception.UserManagementException
(Throwable cause) User management exception.User management exception. -
Method Summary
Modifier and TypeMethodDescriptionGet the error cause concerned by this user management exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserManagementException
public UserManagementException()User management exception. -
UserManagementException
User management exception.- Parameters:
error
- the error cause
-
UserManagementException
User management exception.- Parameters:
message
- the message.cause
- the cause.
-
UserManagementException
public UserManagementException(String message, UserManagementException.StatusError error, Throwable cause) User management exception.- Parameters:
message
- the message.error
- the error causecause
- the cause.
-
UserManagementException
User management exception.- Parameters:
message
- the message.
-
UserManagementException
User management exception.- Parameters:
message
- the messageerror
- the error cause
-
UserManagementException
User management exception.- Parameters:
cause
- the cause.
-
-
Method Details
-
getStatusError
Get the error cause concerned by this user management exception- Returns:
- the error cause. Can be null.
-