Java org.apache.commons.httpclient HttpException fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.httpclient HttpException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.httpclient HttpException.

The text is from its open source code.

Subclass

org.apache.commons.httpclient.HttpException has subclasses.
Click this link to see all its subclasses.

Constructor

HttpException(String message, Throwable cause)
Creates a new HttpException with the specified detail message and cause.
HttpException(String message)
Creates a new HttpException with the specified detail message.
HttpException()
Creates a new HttpException with a null detail message.

Method

ThrowablegetCause()
Return the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable.
ClassgetClass()
Returns the runtime class of this Object .
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns the detail message string of this throwable.
StringgetReason()
Get the text description of the reason for an exception.
intgetReasonCode()
Get the status code description of the reason for an exception.
StackTraceElement[]getStackTrace()
Provides programmatic access to the stack trace information printed by #printStackTrace() .
voidprintStackTrace()
Print this HttpException and its stack trace to the standard error stream.
voidprintStackTrace(PrintStream s)
Print this HttpException and its stack trace to the specified print stream.
voidprintStackTrace(PrintWriter s)
Print this HttpException and its stack trace to the specified print writer.
voidsetReason(String reason)
Sets the text description of the reason for an exception.
voidsetReasonCode(int code)
Sets the status code description of the reason for an exception.
StringtoString()
Returns a short description of this throwable.