public abstract class Warning extends Object implements Comparable
Modifier and Type | Field and Description |
---|---|
static byte |
CLIENT_MILD |
static byte |
CLIENT_MODERATE |
static byte |
CLIENT_SEVERE |
static byte |
MILD |
static byte |
MODERATE |
static byte |
N_LEVELS |
static byte |
SEVERE |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object obj) |
byte |
getLevel() |
abstract String |
getMsg()
Must return the same String always -- this is required by the implementation of hashCode.
|
int |
hashCode() |
void |
setLevel(byte b) |
protected String |
severityString() |
String |
toString() |
public static final byte MILD
public static final byte MODERATE
public static final byte SEVERE
public static final byte CLIENT_MILD
public static final byte CLIENT_MODERATE
public static final byte CLIENT_SEVERE
public static final byte N_LEVELS
public int compareTo(Object o) throws ClassCastException
compareTo
in interface Comparable
ClassCastException
protected String severityString()
public byte getLevel()
public abstract String getMsg()
public void setLevel(byte b)