org.littleshoot.util
Class SocketExceptionWithCause

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.net.SocketException
                  extended by org.littleshoot.util.SocketExceptionWithCause
All Implemented Interfaces:
Serializable

public class SocketExceptionWithCause
extends SocketException

A SocketException that allows you to set the cause the constructor.

See Also:
Serialized Form

Constructor Summary
SocketExceptionWithCause(String message, Throwable t)
          Creates a new 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

SocketExceptionWithCause

public SocketExceptionWithCause(String message,
                                Throwable t)
Creates a new SocketException.

Parameters:
message - The message.
t - The exception that caused this exception.


Copyright © 2011-2013 LittleShoot. All Rights Reserved.