public class UrlValidatorException
extends java.lang.Exception
Constructor and Description |
---|
UrlValidatorException(int statusCode,
java.lang.String message)
Constructs an exception with a status code and optional message.
|
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode()
Gets the HTTP status code.
|