public class HttpAccessException extends NestedRuntimeException
| Modifier and Type | Field and Description |
|---|---|
protected int |
statusCode |
| Constructor and Description |
|---|
HttpAccessException(String msg)
Constructor.
|
HttpAccessException(String msg,
int statusCode)
Constructor.
|
HttpAccessException(String msg,
Throwable cause)
Constructor.
|
HttpAccessException(String msg,
Throwable cause,
int statusCode)
Constructor.
|
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpAccessException(String msg)
msg - Error message.public HttpAccessException(String msg, int statusCode)
msg - Error message.statusCode - HTTP status code.public HttpAccessException(String msg, Throwable cause)
msg - Error message.cause - Cause of error.Copyright © 2008-2015 Spring by Example. All Rights Reserved.