Class UserSettingsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- nl.gx.webmanager.services.usermanager.settings.UserSettingsException
-
- All Implemented Interfaces:
Serializable
public class UserSettingsException extends Exception
Represents the exceptions thrown by the User Management bundle. The exception can be of type GENERAL for general-purpose exceptions or of type AUTHORIZATION if the exception is thrown for not allowed operations.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserSettingsException.Type
-
Constructor Summary
Constructors Constructor Description UserSettingsException(String message)
UserSettingsException(String message, Throwable cause)
UserSettingsException(UserSettingsException.Type type, String msg)
Creates a newUserManagementException
of a given type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserSettingsException.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
-
UserSettingsException
public UserSettingsException(String message)
- Parameters:
message
- Description of what went wrong.
-
UserSettingsException
public UserSettingsException(String message, Throwable cause)
- Parameters:
message
- Description of what went wrong.cause
- TODO.
-
UserSettingsException
public UserSettingsException(UserSettingsException.Type type, String msg)
Creates a newUserManagementException
of a given type.- Parameters:
type
- the exception typemsg
- the exception message
-
-
Method Detail
-
getType
public UserSettingsException.Type getType()
Returns the type of the exception.- Returns:
- exception type
-
-