wt.util
Class WrappedSocketException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bywt.util.WrappedSocketException
All Implemented Interfaces:
Serializable

public class WrappedSocketException
extends IOException

A special exception used by WrappedSocket to wrap exceptions thrown while reading or writing from wrapped sockets. This allows them to be identifed by higher level code as resulting from reading or writing on a WrappedSocket.

See Also:
Serialized Form

Field Summary
private  IOException exception
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
WrappedSocketException(IOException exception)
           
 
Method Summary
 IOException getException()
           
 String getLocalizedMessage()
           
 String getMessage()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exception

private IOException exception
Constructor Detail

WrappedSocketException

public WrappedSocketException(IOException exception)
Method Detail

getException

public IOException getException()

getMessage

public String getMessage()

getLocalizedMessage

public String getLocalizedMessage()

toString

public String toString()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)