org.apache.commons.httpclient
Class HttpException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--org.apache.commons.httpclient.URIException
                          |
                          +--org.apache.commons.httpclient.HttpException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationException, HttpRecoverableException, MalformedChallengeException, MalformedCookieException

public class HttpException
extends URIException

Signals that an HTTP or HttpClient exception has occurred.

Why is it from URIException? To simplify the programming style for the inherited exception instances.

The usage of the reserved status and reason codes

Version:
$Revision: 1.13.2.1 $ $Date: 2004/02/22 18:21:13 $
Author:
Unascribed
See Also:
Serialized Form

Fields inherited from class org.apache.commons.httpclient.URIException
ESCAPING, PARSING, PUNYCODE, reason, reasonCode, UNKNOWN, UNSUPPORTED_ENCODING
 
Constructor Summary
HttpException()
          Creates a new HttpException.
HttpException(String message)
          Creates a new HttpException with the specified message.
 
Methods inherited from class org.apache.commons.httpclient.URIException
getReason, getReasonCode, setReason, setReasonCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpException

public HttpException()
Creates a new HttpException.

HttpException

public HttpException(String message)
Creates a new HttpException with the specified message.
Parameters:
message - exception message


Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.