java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.security.SecurityException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessControlException,AuthenticationException,IdentityException,MalformedCredentialsException,PasswordException,PasswordPolicyException,UserRepositoryException
Base exception class used to report security errors.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a security exception.SecurityException(String message) Creates a security exception with the specified message.SecurityException(String message, Throwable cause) Creates a security exception with the specified message and cause.SecurityException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a security exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.SecurityException(Throwable cause) Creates a security exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SecurityException
public SecurityException()Creates a security exception.
-
SecurityException
Creates a security exception with the specified message.
- Parameters:
message- the message
-
SecurityException
Creates a security exception with the specified cause.
- Parameters:
cause- the cause
-
SecurityException
Creates a security exception with the specified message and cause.
- Parameters:
message- the messagecause- the cause
-
SecurityException
public SecurityException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a security exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- Parameters:
message- the messagecause- the causeenableSuppression- true to enable suppression, false otherwisewritableStackTrace- true to make the stack trace writable, false otherwise
-