|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatusException
An exception my implement the StatusException interface to give more status information about the type of exception.
Field Summary | |
---|---|
static int |
CODE_ERROR
The exception is unexpected and should result in an error. |
static int |
CODE_INFO
The exception is for informational purposes |
static int |
CODE_OK
The exception is ok and expected |
static int |
CODE_WARNING
The exception is unexpected by may be handled, but a warning should be logged |
Method Summary | |
---|---|
java.lang.Object |
getStatus()
Returns the status object |
int |
getStatusCode()
Returns the status code |
Field Detail |
---|
static final int CODE_OK
static final int CODE_INFO
static final int CODE_WARNING
static final int CODE_ERROR
Method Detail |
---|
java.lang.Object getStatus()
int getStatusCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |