Apache Tomcat 7.0.39

org.apache.catalina.connector
Class ClientAbortException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.catalina.connector.ClientAbortException
All Implemented Interfaces:
Serializable

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:
$Id: ClientAbortException.java 1200173 2011-11-10 06:11:10Z kkolinko $
Author:
Glenn L. Nielsen
See Also:
Serialized Form

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)
 
Constructor Summary
ClientAbortException()
          Construct a new ClientAbortException with no other information.
ClientAbortException(String message)
          Construct a new ClientAbortException for the specified message.
ClientAbortException(String message, Throwable throwable)
          Construct a new ClientAbortException for the specified message and throwable.
ClientAbortException(Throwable throwable)
          Construct a new ClientAbortException for the specified throwable.
 
Method Summary
 Throwable getCause()
          Returns the cause that caused this exception, if any.
 String getMessage()
          Returns the message associated with this exception, if any.
 String toString()
          Return a formatted string that describes this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

getMessage

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

Overrides:
getMessage in class Throwable

getCause

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

Overrides:
getCause in class Throwable

toString

public String toString()
Return a formatted string that describes this exception.

Overrides:
toString in class Throwable

Apache Tomcat 7.0.39

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.