Package com.redwood.scheduler.api.soap
Class HTTPException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.redwood.scheduler.api.soap.HTTPException
-
- All Implemented Interfaces:
Serializable
public final class HTTPException extends IOException
An error during HTTP parsing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTTPException(Throwable cause, int newResponseCodeInt, String newResponseLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getResponseCode()
Get the HTTP response code, or -1 if the code could not be parsed.String
getResponseLine()
Get the HTTP response line, or the first line of the response if it could not be parsed.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getResponseCode
public int getResponseCode()
Get the HTTP response code, or -1 if the code could not be parsed.- Returns:
- the code.
-
getResponseLine
public String getResponseLine()
Get the HTTP response line, or the first line of the response if it could not be parsed.- Returns:
- the response.
-
-