org.apache.commons.httpclient
Class NoHttpResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.commons.httpclient.NoHttpResponseException
All Implemented Interfaces:
Serializable

public class NoHttpResponseException
extends IOException

Signals that the target server failed to respond with a valid HTTP response.

Version:
$Revision: 1425331 $
Author:
Oleg Kalnichevski
See Also:
Serialized Form

Constructor Summary
NoHttpResponseException()
          Creates a new NoHttpResponseException with a null detail message.
NoHttpResponseException(String message)
          Creates a new NoHttpResponseException with the specified detail message.
NoHttpResponseException(String message, Throwable cause)
          Creates a new NoHttpResponseException with the specified detail message and cause.
 
Method Summary
 
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

NoHttpResponseException

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


NoHttpResponseException

public NoHttpResponseException(String message)
Creates a new NoHttpResponseException with the specified detail message.

Parameters:
message - exception message

NoHttpResponseException

public NoHttpResponseException(String message,
                               Throwable cause)
Creates a new NoHttpResponseException 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
Since:
3.0


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