java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.FileNotFoundException
org.kohsuke.github.GHFileNotFoundException
- All Implemented Interfaces:
Serializable
Request/response contains useful metadata. Custom exception allows store info for next diagnostics.
- Author:
- Kanstantsin Shautsou
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThe response header fields. -
Constructor Summary
ConstructorDescriptionInstantiates a new Gh file not found exception.GHFileNotFoundException
(String message) Instantiates a new Gh file not found exception.GHFileNotFoundException
(String message, Throwable cause) Instantiates a new Gh file not found exception. -
Method Summary
Modifier and TypeMethodDescriptionGets response header fields.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
responseHeaderFields
The response header fields.
-
-
Constructor Details
-
GHFileNotFoundException
public GHFileNotFoundException()Instantiates a new Gh file not found exception. -
GHFileNotFoundException
Instantiates a new Gh file not found exception.- Parameters:
message
- the message
-
GHFileNotFoundException
Instantiates a new Gh file not found exception.- Parameters:
message
- the messagecause
- the cause
-
-
Method Details
-
getResponseHeaderFields
Gets response header fields.- Returns:
- the response header fields
-