Package com.cedarpolicy.model.exception
Class InternalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.cedarpolicy.model.exception.AuthException
com.cedarpolicy.model.exception.InternalException
- All Implemented Interfaces:
Serializable
An exception which is thrown when Cedar encounters an internal error when processing a request.
- See Also:
-
Field Summary
Fields inherited from class com.cedarpolicy.model.exception.AuthException
cause, message -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.cedarpolicy.model.exception.AuthException
toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
InternalException
Internal exception from Rust library.- Parameters:
errors- List of Errors.
-
-
Method Details
-
getErrors
Get errors.- Returns:
- the error messages returned by Cedar
-