org.springbyexample.httpclient
Class HttpAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springbyexample.httpclient.HttpAccessException
- All Implemented Interfaces:
- Serializable
public class HttpAccessException
- extends NestedRuntimeException
HTTP runtime exception for any HTTP error.
- Author:
- David Winterfeldt
- See Also:
- Serialized Form
statusCode
protected int statusCode
HttpAccessException
public HttpAccessException(String msg)
- Constructor.
- Parameters:
msg
- Error message.
HttpAccessException
public HttpAccessException(String msg,
int statusCode)
- Constructor.
- Parameters:
msg
- Error message.statusCode
- HTTP status code.
HttpAccessException
public HttpAccessException(String msg,
Throwable cause)
- Constructor.
- Parameters:
msg
- Error message.cause
- Cause of error.
HttpAccessException
public HttpAccessException(String msg,
Throwable cause,
int statusCode)
- Constructor.
- Parameters:
msg
- Error message.cause
- Cause of error.statusCode
- HTTP status code.
Copyright © 2008-2009 Spring by Example. All Rights Reserved.