Package com.cedarpolicy.model.exception
Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.cedarpolicy.model.exception.AuthException
com.cedarpolicy.model.exception.BadRequestException
- All Implemented Interfaces:
Serializable
An exception which is thrown when Cedar encounters an error in a supplied request which caused it
to stop processing; for example, a syntax error in a policy string.
- 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
-
BadRequestException
Failure due to bad request.- Parameters:
errors- List of Errors.
-
-
Method Details
-
getErrors
Get the errors.- Returns:
- the error messages returned by Cedar
-