org.apache.catalina.connector

Class ClientAbortException

public final class ClientAbortException extends IOException

Wrap an IOException identifying it as being caused by an abort of a request by a remote client.

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Glenn L. Nielsen

Field Summary
protected Stringmessage
The error message passed to our constructor (if any)
protected Throwablethrowable
The underlying exception or error passed to our constructor (if any)
Constructor Summary
ClientAbortException()
Construct a new ClientAbortException with no other information.
ClientAbortException(String message)
Construct a new ClientAbortException for the specified message.
ClientAbortException(Throwable throwable)
Construct a new ClientAbortException for the specified throwable.
ClientAbortException(String message, Throwable throwable)
Construct a new ClientAbortException for the specified message and throwable.
Method Summary
ThrowablegetCause()
Returns the cause that caused this exception, if any.
StringgetMessage()
Returns the message associated with this exception, if any.
StringtoString()
Return a formatted string that describes this exception.

Field Detail

message

protected String message
The error message passed to our constructor (if any)

throwable

protected Throwable throwable
The underlying exception or error passed to our constructor (if any)

Constructor Detail

ClientAbortException

public ClientAbortException()
Construct a new ClientAbortException with no other information.

ClientAbortException

public ClientAbortException(String message)
Construct a new ClientAbortException for the specified message.

Parameters: message Message describing this exception

ClientAbortException

public ClientAbortException(Throwable throwable)
Construct a new ClientAbortException for the specified throwable.

Parameters: throwable Throwable that caused this exception

ClientAbortException

public ClientAbortException(String message, Throwable throwable)
Construct a new ClientAbortException for the specified message and throwable.

Parameters: message Message describing this exception throwable Throwable that caused this exception

Method Detail

getCause

public Throwable getCause()
Returns the cause that caused this exception, if any.

getMessage

public String getMessage()
Returns the message associated with this exception, if any.

toString

public String toString()
Return a formatted string that describes this exception.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.