Class GHFileNotFoundException

All Implemented Interfaces:
Serializable

public class GHFileNotFoundException extends FileNotFoundException
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

    • GHFileNotFoundException

      public GHFileNotFoundException()
      Instantiates a new Gh file not found exception.
    • GHFileNotFoundException

      public GHFileNotFoundException(String message)
      Instantiates a new Gh file not found exception.
      Parameters:
      message - the message
    • GHFileNotFoundException

      public GHFileNotFoundException(String message, Throwable cause)
      Instantiates a new Gh file not found exception.
      Parameters:
      message - the message
      cause - the cause
  • Method Details

    • getResponseHeaderFields

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