java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.security.SecurityException
io.inverno.mod.security.identity.IdentityException
- All Implemented Interfaces:
Serializable
Thrown to indicate errors during identity resolution.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates an identity exception.IdentityException
(String message) Creates an identity exception with the specified message.IdentityException
(String message, Throwable cause) Creates an identity exception with the specified message and cause.IdentityException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates an identity exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.IdentityException
(Throwable cause) Creates an identity 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
-
IdentityException
public IdentityException()Creates an identity exception.
-
IdentityException
Creates an identity exception with the specified message.
- Parameters:
message
- the message
-
IdentityException
Creates an identity exception with the specified cause.
- Parameters:
cause
- the cause
-
IdentityException
Creates an identity exception with the specified message and cause.
- Parameters:
message
- the messagecause
- the cause
-
IdentityException
public IdentityException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates an identity 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
-