| java.lang.Object java.lang.Throwable java.lang.Exception org.jicarilla.lang.CascadingException org.jicarilla.http.HTTPException
HTTPException | public class HTTPException extends CascadingException implements Serializable(Code) | | Base exception for all exceptions that occur when handling
HTTP communication. Provides support for getting and setting
the HTTP response code associated with the exception. Instead
of subclassing this exception for every response code, simply
use a constructore which takes a response code.
If code is not set, 500 is assumed. If you
provde a code bigger than 999, but no message, you're in trouble
as you'll be slapped with an ArrayIndexOutOfBoundsException.
author: Leo Simons version: $Id: HTTPException.java,v 1.5 2004/03/23 13:37:48 lsimons Exp $ |
DEFAULT_CODE | final public static int DEFAULT_CODE(Code) | | |
DEFAULT_MESSAGE | final public static String DEFAULT_MESSAGE(Code) | | |
m_code | protected int m_code(Code) | | |
HTTPException | public HTTPException()(Code) | | |
HTTPException | public HTTPException(int code)(Code) | | |
HTTPException | public HTTPException(int code, String message)(Code) | | |
getCode | public int getCode()(Code) | | |
hashCode | public int hashCode()(Code) | | |
|
|