Class AccessGrantException

All Implemented Interfaces:
Serializable

public class AccessGrantException extends InruptClientException
A runtime exception for use with Access Grants.
See Also:
  • Constructor Details

    • AccessGrantException

      public AccessGrantException(String message)
      Create an AccessGrant exception.
      Parameters:
      message - the message
    • AccessGrantException

      public AccessGrantException(String message, Throwable cause)
      Create an AccessGrant exception.
      Parameters:
      message - the message
      cause - the cause
    • AccessGrantException

      public AccessGrantException(String message, int statusCode)
      Create an AccessGrant exception.
      Parameters:
      message - the message
      statusCode - the HTTP status code
    • AccessGrantException

      public AccessGrantException(String message, int statusCode, Throwable cause)
      Create an AccessGrant exception.
      Parameters:
      message - the message
      cause - the cause
      statusCode - the HTTP status code
  • Method Details

    • getStatusCode

      public OptionalInt getStatusCode()
      Get the status code.
      Returns:
      the status code, if available