org.apache.commons.httpclient
Class HttpTimeoutException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.apache.commons.httpclient.HttpRecoverableException
                  extended byorg.apache.commons.httpclient.HttpTimeoutException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConnectTimeoutException, IOTimeoutException

public class HttpTimeoutException
extends HttpRecoverableException

A timeout while processing an HTTP request: for example a network timeout or a timeout while waiting for an HttpConnection to become available.

Since:
2.1
Author:
Laura Werner
See Also:
Serialized Form

Constructor Summary
HttpTimeoutException()
          Creates a new HttpTimeoutException with a null detail message.
HttpTimeoutException(java.lang.String message)
          Creates a new HttpTimeoutException with the specified detail message.
HttpTimeoutException(java.lang.String message, java.lang.Throwable cause)
          Creates a new HttpTimeoutException with the specified detail message and cause.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpTimeoutException

public HttpTimeoutException()
Creates a new HttpTimeoutException with a null detail message.


HttpTimeoutException

public HttpTimeoutException(java.lang.String message)
Creates a new HttpTimeoutException with the specified detail message.

Parameters:
message - The exception detail message

HttpTimeoutException

public HttpTimeoutException(java.lang.String message,
                            java.lang.Throwable cause)
Creates a new HttpTimeoutException with the specified detail message and cause.

Parameters:
message - the exception detail message
cause - the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable


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