Class BadRequestException

All Implemented Interfaces:
Serializable

public class BadRequestException extends AuthException
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:
  • Constructor Details

    • BadRequestException

      public BadRequestException(String[] errors)
      Failure due to bad request.
      Parameters:
      errors - List of Errors.
  • Method Details

    • getErrors

      public List<String> getErrors()
      Get the errors.
      Returns:
      the error messages returned by Cedar