java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.i2p.socks.SOCKSException
- All Implemented Interfaces:
Serializable
Exception thrown by socket methods.
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionCreates a SOCKS failure with no detail message.Creates a SOCKS failure carrying only a detail message.SOCKSException(String s, Throwable t) Create a new SOCKS exception with a message and cause.Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
SOCKSException
public SOCKSException()Creates a SOCKS failure with no detail message.SOCKSException
Creates a SOCKS failure carrying only a detail message.- Parameters:
s- detail message naming the SOCKS reply code or failure reason
SOCKSException