Package org.kohsuke.github
Class GHIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.kohsuke.github.GHIOException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GHOTPRequiredException
public class GHIOException extends IOException
Request/responce contains useful metadata. Custom exception allows store info for next diagnostics.- Author:
- Kanstantsin Shautsou
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,List<String>>responseHeaderFields
-
Constructor Summary
Constructors Constructor Description GHIOException()Instantiates a new Ghio exception.GHIOException(String message)Instantiates a new Ghio exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<String>>getResponseHeaderFields()Gets response header fields.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GHIOException
public GHIOException()
Instantiates a new Ghio exception.
-
GHIOException
public GHIOException(String message)
Instantiates a new Ghio exception.- Parameters:
message- the message
-
-
Method Detail
-
getResponseHeaderFields
@CheckForNull public Map<String,List<String>> getResponseHeaderFields()
Gets response header fields.- Returns:
- the response header fields
-
-