public class HttpException extends IOException
IOException
to reveal the HTTP Status Code associated with
the response.Constructor and Description |
---|
HttpException(HttpException cause)
Variant for wrap and throw provides improved traces.
|
HttpException(int statusCode,
String message) |
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode()
The HTTP Status code associated with the response.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HttpException(int statusCode, String message)
public HttpException(HttpException cause)
cause
- Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.