java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.kohsuke.github.GHIOException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GHEnterpriseManagedUsersException
,GHOTPRequiredException
,HttpException
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 Ghio exception.GHIOException
(String message) Instantiates a new Ghio exception.GHIOException
(String message, Throwable cause) Constructs aGHIOException
with the specified detail message and cause. -
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
-
GHIOException
public GHIOException()Instantiates a new Ghio exception. -
GHIOException
Instantiates a new Ghio exception.- Parameters:
message
- the message
-
GHIOException
Constructs aGHIOException
with the specified detail message and cause.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method)cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Details
-
getResponseHeaderFields
Gets response header fields.- Returns:
- the response header fields
-