Class GHFileNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class GHFileNotFoundException
    extends FileNotFoundException
    Request/responce contains useful metadata. Custom exception allows store info for next diagnostics.
    Author:
    Kanstantsin Shautsou
    See Also:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • getResponseHeaderFields

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