Package com.cedarpolicy.model.exception
Class AuthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.cedarpolicy.model.exception.AuthException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadRequestException,InternalException,InvalidEscapeSequenceException
Exception thrown when errors are encountered that prevent communication with the authorization
engine. Note that this does not include errors that are generated by the authorization engine
while evaluating a request. These errors are included in the
errors field of the
AuthorizationResponse.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthException(String message) Exceptions encountered during authorization.AuthException(String message, Throwable cause) Constructor to build an exception with both a Throwable cause and an error message.AuthException(Throwable cause) Constructor that just takes the Throwable cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
message
Generated Error Message. -
cause
Exception that caused the failure.
-
-
Constructor Details
-
AuthException
Exceptions encountered during authorization.- Parameters:
message- Error Message
-
AuthException
Constructor to build an exception with both a Throwable cause and an error message.- Parameters:
message- useful debugging messagecause- parent exception that caused this exception
-
AuthException
Constructor that just takes the Throwable cause.- Parameters:
cause- parent exception that caused this exception
-
-
Method Details