com.go.trove.net
Class CheckedSocketException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--java.net.SocketException
                          |
                          +--com.go.trove.net.CheckedSocketException
All Implemented Interfaces:
java.io.Serializable

public class CheckedSocketException
extends java.net.SocketException

A SocketException that prints out additional detail in the message: address and port of the socket.

Version:
6 , 01/01/22
Author:
Brian S O'Neill
See Also:
Serialized Form

Method Summary
 java.lang.Exception getCause()
           
 java.net.Socket getSource()
          Returns null if source socket has been reclaimed by the garbage collector.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream ps)
           
 void printStackTrace(java.io.PrintWriter pw)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCause

public java.lang.Exception getCause()

getSource

public java.net.Socket getSource()
Returns null if source socket has been reclaimed by the garbage collector.

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Overrides:
printStackTrace in class java.lang.Throwable