org.apache.catalina.connector
public final class: ClientAbortException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.catalina.connector.ClientAbortException
All Implemented Interfaces:
Serializable
Wrap an IOException identifying it as being caused by an abort
of a request by a remote client.
- author:
Glenn - L. Nielsen
- version:
$ - Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
| Field Summary |
|---|
| protected String | message | The error message passed to our constructor (if any) |
| protected Throwable | throwable | The underlying exception or error passed to our constructor (if any) |
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Method from org.apache.catalina.connector.ClientAbortException Detail: |
public Throwable getCause() {
return (throwable);
}
Returns the cause that caused this exception, if any. |
public String getMessage() {
//---------------------------------------------------------- Public Methods
return (message);
}
Returns the message associated with this exception, if any. |
public String toString() {
StringBuffer sb = new StringBuffer("ClientAbortException: ");
if (message != null) {
sb.append(message);
if (throwable != null) {
sb.append(": ");
}
}
if (throwable != null) {
sb.append(throwable.toString());
}
return (sb.toString());
}
Return a formatted string that describes this exception. |