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 SummaryConstructors Constructor Description HTTPException(Throwable cause, int newResponseCodeInt, String newResponseLine)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetResponseCode()Get the HTTP response code, or -1 if the code could not be parsed.StringgetResponseLine()Get the HTTP response line, or the first line of the response if it could not be parsed.- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Method Detail- 
getResponseCodepublic int getResponseCode() Get the HTTP response code, or -1 if the code could not be parsed.- Returns:
- the code.
 
 - 
getResponseLinepublic String getResponseLine() Get the HTTP response line, or the first line of the response if it could not be parsed.- Returns:
- the response.
 
 
- 
 
-