Class PortNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.net.NetException
org.refcodes.net.PortNotFoundException
All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
Direct Known Subclasses:
PortAlreadyBoundException

public class PortNotFoundException extends NetException
Thrown in case no port can be determined.
See Also:
  • Constructor Details

    • PortNotFoundException

      public PortNotFoundException(String aMessage, String aErrorCode)
      Instantiates a new port not found exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • PortNotFoundException

      public PortNotFoundException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new port not found exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • PortNotFoundException

      public PortNotFoundException(String message, Throwable cause)
      Instantiates a new port not found exception.
      Parameters:
      message - the message
      cause - the cause
    • PortNotFoundException

      public PortNotFoundException(String message)
      Instantiates a new port not found exception.
      Parameters:
      message - the message
    • PortNotFoundException

      public PortNotFoundException(Throwable aCause, String aErrorCode)
      Instantiates a new port not found exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • PortNotFoundException

      public PortNotFoundException(Throwable cause)
      Instantiates a new port not found exception.
      Parameters:
      cause - the cause