com.caucho.vfs
Class SocketTimeoutException

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

public class SocketTimeoutException
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
SocketTimeoutException()
           
SocketTimeoutException(java.lang.Exception exn)
           
SocketTimeoutException(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

SocketTimeoutException

public SocketTimeoutException()

SocketTimeoutException

public SocketTimeoutException(java.lang.String msg)

SocketTimeoutException

public SocketTimeoutException(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.