Class GHIOException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GHOTPRequiredException, HttpException

public class GHIOException extends IOException
Request/response contains useful metadata. Custom exception allows store info for next diagnostics.
Author:
Kanstantsin Shautsou
See Also:
  • Field Details

    • responseHeaderFields

      protected Map<String,List<String>> responseHeaderFields
      The response header fields.
  • Constructor Details

    • GHIOException

      public GHIOException()
      Instantiates a new Ghio exception.
    • GHIOException

      public GHIOException(String message)
      Instantiates a new Ghio exception.
      Parameters:
      message - the message
    • GHIOException

      public GHIOException(String message, Throwable cause)
      Constructs a GHIOException with the specified detail message and cause.
      Parameters:
      message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method)
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
  • Method Details

    • getResponseHeaderFields

      @CheckForNull public Map<String,List<String>> getResponseHeaderFields()
      Gets response header fields.
      Returns:
      the response header fields