org.littleshoot.util
Class RuntimeSocketException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.littleshoot.util.RuntimeSocketException
All Implemented Interfaces:
Serializable

public class RuntimeSocketException
extends RuntimeException

A runtime wrapper around an SocketException.

See Also:
Serialized Form

Constructor Summary
RuntimeSocketException(SocketException original)
          Constructs a new runtime wrapper for a SocketException.
RuntimeSocketException(String message)
          Creates a new RuntimeSocketException with the specified message and no cause.
RuntimeSocketException(String message, SocketException original)
          Constructs a new runtime wrapper for a SocketException.
 
Method Summary
 
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

RuntimeSocketException

public RuntimeSocketException(SocketException original)
Constructs a new runtime wrapper for a SocketException.

Parameters:
original - The original SocketException to wrap.

RuntimeSocketException

public RuntimeSocketException(String message,
                              SocketException original)
Constructs a new runtime wrapper for a SocketException.

Parameters:
message - The message to display with the exception.
original - The original SocketException to wrap.

RuntimeSocketException

public RuntimeSocketException(String message)
Creates a new RuntimeSocketException with the specified message and no cause.

Parameters:
message - The message.


Copyright © 2011-2013 LittleShoot. All Rights Reserved.