com.caucho.vfs
Class ClientDisconnectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.caucho.vfs.ClientDisconnectException
All Implemented Interfaces:
java.io.Serializable

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

Constructor Summary
ClientDisconnectException()
           
ClientDisconnectException(java.lang.Exception exn)
           
ClientDisconnectException(java.lang.String msg)
           
 
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.
 
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
 

Constructor Detail

ClientDisconnectException

public ClientDisconnectException()

ClientDisconnectException

public ClientDisconnectException(java.lang.String msg)

ClientDisconnectException

public ClientDisconnectException(java.lang.Exception exn)
Method Detail

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.