Class UserManagementException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- nl.gx.webmanager.services.usermanager.UserManagementException
-
- All Implemented Interfaces:
Serializable
public class UserManagementException extends Exception
This is the general exception type which is used throughout the user management API.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserManagementException.Type
-
Constructor Summary
Constructors Constructor Description UserManagementException()
Creates a newUserManagementException
.UserManagementException(String msg)
Creates a newUserManagementException
.UserManagementException(String msg, Throwable cause)
Creates a newUserManagementException
.UserManagementException(UserManagementException.Type type, String msg)
Creates a newUserManagementException
of a given type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserManagementException.Type
getType()
Returns the type of the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UserManagementException
public UserManagementException()
Creates a newUserManagementException
.
-
UserManagementException
public UserManagementException(String msg)
Creates a newUserManagementException
.- Parameters:
msg
- the exception message
-
UserManagementException
public UserManagementException(UserManagementException.Type type, String msg)
Creates a newUserManagementException
of a given type.- Parameters:
type
- the exception typemsg
- the exception message
-
UserManagementException
public UserManagementException(String msg, Throwable cause)
Creates a newUserManagementException
.- Parameters:
msg
- the exception messagecause
- the exception cause
-
-
Method Detail
-
getType
public UserManagementException.Type getType()
Returns the type of the exception.- Returns:
- exception type
-
-