Class OpenIdException

All Implemented Interfaces:
Serializable

public class OpenIdException extends RuntimeException
A runtime exception for use with OpenID-related errors.
See Also:
  • Constructor Details

    • OpenIdException

      public OpenIdException(String message)
      Create an OpenID exception.
      Parameters:
      message - the message
    • OpenIdException

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

      public OpenIdException(String message, Throwable cause, int statusCode)
      Create an OpenID exception.
      Parameters:
      message - the message
      cause - the cause
      statusCode - the HTTP status code
    • OpenIdException

      public OpenIdException(String message, int statusCode)
      Create a OpenID exception.
      Parameters:
      message - the message
      statusCode - the HTTP status code
  • Method Details

    • getStatus

      public OptionalInt getStatus()
      Get the HTTP status code of the response if there is one.
      Returns:
      the HTTP status code