com.caucho.vfs
Class ClientDisconnectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.caucho.vfs.ClientDisconnectException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ClientTimeoutException
public class ClientDisconnectException
- extends java.io.IOException
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. |
static java.io.IOException |
create(java.lang.String msg,
java.io.IOException exn)
Only create a disconnect exception if it's an IOException
Possible later check for broken pipe. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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)
ClientDisconnectException
public ClientDisconnectException(java.lang.String msg,
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.
create
public static java.io.IOException create(java.lang.String msg,
java.io.IOException exn)
- Only create a disconnect exception if it's an IOException
Possible later check for broken pipe.