Class InvalidPortNumberException

All Implemented Interfaces:
Serializable

public class InvalidPortNumberException extends ValidationException
Exception thrown when an invalid port is being set.
See Also:
  • Constructor Details

    • InvalidPortNumberException

      public InvalidPortNumberException(String propertyName, String port)
      Constructor that takes the property name validated and the port value that is being validated.
      Parameters:
      propertyName - The name of the property validated.
      port - The value of the property validated.
    • InvalidPortNumberException

      public InvalidPortNumberException(String propertyName, String port, Throwable cause)
      Constructor that takes the property name validated, the port value that is being validated and the cause of the exception.
      Parameters:
      propertyName - The name of the property validated.
      port - The value of the property validated.
      cause - The cause of the exception.