Top Description Fields Constructors Methods
org.apache.http

public Class MethodNotSupportedException

extends HttpException
Class Inheritance

Signals that an HTTP method is not supported.
Since
4.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
MethodNotSupportedException(final String
The exception detail message
message
)

Creates a new MethodNotSupportedException with the specified detail message.

public
MethodNotSupportedException(final String
the exception detail message
message
,
final Throwable
the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable
cause
)

Creates a new MethodNotSupportedException with the specified detail message and cause.

Method Summary

Inherited from org.apache.http.HttpException:
clean

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.http.HttpException.serialVersionUID.

Constructor Detail

MethodNotSupportedExceptionback to summary
public MethodNotSupportedException(final String message)

Creates a new MethodNotSupportedException with the specified detail message.

Parameters
message:String

The exception detail message

MethodNotSupportedExceptionback to summary
public MethodNotSupportedException(final String message, final Throwable cause)

Creates a new MethodNotSupportedException with the specified detail message and cause.

Parameters
message:String

the exception detail message

cause:Throwable

the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable