public class URLDescriptorException extends Exception
Modifier and Type | Field and Description |
---|---|
static int |
AMBIGUOUS_ERROR |
protected int |
error |
private String |
explanation |
static int |
HOST_ERROR |
static int |
NULL_ERROR |
static int |
PORT_ERROR |
private static long |
serialVersionUID |
static int |
UNKNOWN_ERROR |
Constructor and Description |
---|
URLDescriptorException() |
URLDescriptorException(int error) |
URLDescriptorException(int error,
String explanation) |
URLDescriptorException(String explanation) |
Modifier and Type | Method and Description |
---|---|
int |
getError() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
private static final long serialVersionUID
public static final int UNKNOWN_ERROR
public static final int HOST_ERROR
public static final int PORT_ERROR
public static final int NULL_ERROR
public static final int AMBIGUOUS_ERROR
protected int error
private String explanation