org.apache.commons.httpclient

Class NoHttpResponseException

Implemented Interfaces:
Serializable

public class NoHttpResponseException
extends IOException

Signals that the target server failed to respond with a valid HTTP response.
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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

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