Class PolicyViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nimbusds.openid.connect.sdk.federation.policy.language.PolicyViolationException
-
- All Implemented Interfaces:
Serializable
public class PolicyViolationException extends Exception
Policy violation exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolicyViolationException(String message)
Creates a new policy violation exception.PolicyViolationException(String message, Throwable cause)
Creates a new policy violation exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PolicyViolationException
public PolicyViolationException(String message)
Creates a new policy violation exception.- Parameters:
message
- The exception message.
-
PolicyViolationException
public PolicyViolationException(String message, Throwable cause)
Creates a new policy violation exception.- Parameters:
message
- The exception message.cause
- The exception cause.
-
-