Class IdentityAssertionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.openig.handler.assertion.IdentityAssertionException
-
- All Implemented Interfaces:
Serializable
public final class IdentityAssertionException extends Exception
An exception specific to issues within theassertion
package.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdentityAssertionException(String message)
Create a new instance with a specific message.IdentityAssertionException(String message, Exception cause)
Create a new instance with a specific message and exception cause.IdentityAssertionException(String message, List<Violation> violations)
Create a new instance with a specific message and violations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<List<Violation>>
violations()
Return any violations associated with this exception, may be empty.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IdentityAssertionException
public IdentityAssertionException(String message)
Create a new instance with a specific message.- Parameters:
message
- The message related to the generated exception.
-
IdentityAssertionException
public IdentityAssertionException(String message, List<Violation> violations)
Create a new instance with a specific message and violations.- Parameters:
message
- The message related to the generated exception.violations
- The violations related to the generated exception.
-
-