All Implemented Interfaces:
Serializable

public class SOCKSExceptionextends IOException
Exception thrown by socket methods.
See Also:
  • Constructor Details

    • SOCKSException

      public SOCKSException()
      Creates a SOCKS failure with no detail message.
    • SOCKSException

      public SOCKSException(String s)
      Creates a SOCKS failure carrying only a detail message.
      Parameters:
      s - detail message naming the SOCKS reply code or failure reason
    • SOCKSException

      public SOCKSException(String s, Throwable t)
      Create a new SOCKS exception with a message and cause.
      Parameters:
      s - the detail message
      t - the cause, wrapped as the exception's cause