com.caucho.vfs
Class ClientDisconnectException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--com.caucho.vfs.ClientDisconnectException
- All Implemented Interfaces:
- ExceptionWrapper, java.io.Serializable
- public class ClientDisconnectException
- extends java.io.IOException
- implements ExceptionWrapper
Exception thrown when a client unexpectedly closes a connection.
Generally this is a broken pipe exception, but unfortunately, java.io.*
doesn't have a specific BrokenPipeException.
- See Also:
- Serialized Form
Method Summary |
static java.io.IOException |
create(java.io.IOException exn)
Only create a disconnect exception if it's an IOException
Possible later check for broken pipe. |
java.lang.Throwable |
getRootCause()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClientDisconnectException
public ClientDisconnectException()
ClientDisconnectException
public ClientDisconnectException(java.lang.String msg)
ClientDisconnectException
public ClientDisconnectException(java.lang.Exception exn)
create
public static java.io.IOException create(java.io.IOException exn)
- Only create a disconnect exception if it's an IOException
Possible later check for broken pipe.
getRootCause
public java.lang.Throwable getRootCause()
- Specified by:
getRootCause
in interface ExceptionWrapper