public class FailingHttpStatusCodeException extends RuntimeException
| Constructor and Description |
|---|
FailingHttpStatusCodeException(String message,
WebResponse failingResponse)
Creates an instance.
|
FailingHttpStatusCodeException(WebResponse failingResponse)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
WebResponse |
getResponse()
Gets the failing response.
|
int |
getStatusCode()
Returns the failing status code.
|
String |
getStatusMessage()
Returns the message associated with the failing status code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FailingHttpStatusCodeException(WebResponse failingResponse)
failingResponse - the failing responsepublic FailingHttpStatusCodeException(String message, WebResponse failingResponse)
message - the messagefailingResponse - the failing responsepublic int getStatusCode()
public String getStatusMessage()
public WebResponse getResponse()
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.