|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException
public class FailingHttpStatusCodeException
An exception that is thrown when the server returns a failing status code.
Constructor Summary | |
---|---|
FailingHttpStatusCodeException(WebResponse failingResponse)
Creates an instance. |
Method Summary | |
---|---|
WebResponse |
getResponse()
Gets the failing response. |
int |
getStatusCode()
Returns the failing status code. |
String |
getStatusMessage()
Returns the message associated with the failing status code. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FailingHttpStatusCodeException(WebResponse failingResponse)
failingResponse
- the failing responseMethod Detail |
---|
public int getStatusCode()
public String getStatusMessage()
public WebResponse getResponse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |