Class InvalidPortNumberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.polyapi.commons.api.error.PolyApiException
io.polyapi.plugin.error.PolyApiMavenPluginException
io.polyapi.plugin.error.validation.ValidationException
io.polyapi.plugin.error.validation.InvalidPortNumberException
- All Implemented Interfaces:
Serializable
Exception thrown when an invalid port is being set.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidPortNumberException(String propertyName, String port) Constructor that takes the property name validated and the port value that is being validated.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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPortNumberException
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
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.
-