Class VeniceAclException

All Implemented Interfaces:
Serializable

public class VeniceAclException extends VeniceException
A runtime exception which may be thrown by implementation of AuthorizerService interface.
See Also:
  • Constructor Details

    • VeniceAclException

      public VeniceAclException(String message, int httpErrorCode)
    • VeniceAclException

      public VeniceAclException(String message, int httpErrorCode, Throwable throwable)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getHttpStatusCode

      public int getHttpStatusCode()
      Description copied from class: VeniceException
      If this exception is caught in handling an http request, what status code should be returned? Exceptions that extend VeniceException can override this for different behavior
      Overrides:
      getHttpStatusCode in class VeniceException
      Returns:
      500 (Internal Server Error)