Package org.kohsuke.github
Class GHFileNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.io.FileNotFoundException
-
- org.kohsuke.github.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
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,List<String>>
responseHeaderFields
-
Constructor Summary
Constructors Constructor Description GHFileNotFoundException()
Instantiates 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
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
-
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
-
-
Method Detail
-
getResponseHeaderFields
@CheckForNull public Map<String,List<String>> getResponseHeaderFields()
Gets response header fields.- Returns:
- the response header fields
-
-