toolbox.services.socket.simple
Class SimpleSocketException

Package class diagram package SimpleSocketException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by toolbox.services.socket.simple.SimpleSocketException
All Implemented Interfaces:
java.io.Serializable

public class SimpleSocketException
extends java.lang.Exception

Indicates an exception while performing simple socket operations.

See Also:
Serialized Form

Constructor Summary
SimpleSocketException(java.lang.Exception ex)
          Calls the parent constructor.
SimpleSocketException(java.lang.String message)
          Calls the parent constructor with the given message.
 
Method Summary
 java.lang.String getMessage()
          Return the message from the parent class.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

SimpleSocketException

public SimpleSocketException(java.lang.Exception ex)
Calls the parent constructor.

Parameters:
ex - Original exception that occured.

SimpleSocketException

public SimpleSocketException(java.lang.String message)
Calls the parent constructor with the given message.

Parameters:
message - Error message.
Method Detail

getMessage

public java.lang.String getMessage()
Return the message from the parent class.

Overrides:
getMessage in class java.lang.Throwable
Returns:
String containing the exception message.