|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExceptionInfo
Interface supplying additional exception information. All OpenJPA exceptions implement this interface.
Field Summary | |
---|---|
static int |
GENERAL
|
static int |
INTERNAL
|
static int |
STORE
|
static int |
UNAVAILABLE
|
static int |
UNSUPPORTED
|
static int |
USER
|
static int |
WRAPPED
|
Method Summary | |
---|---|
Throwable |
getCause()
Returns the first Throwable from getNestedThrowables()
in order to conform to Throwable.getCause() in Java 1.4+. |
Object |
getFailedObject()
The failed object. |
String |
getMessage()
Exception message. |
Throwable[] |
getNestedThrowables()
The nested throwables. |
int |
getSubtype()
Exception subtype. |
int |
getType()
Exception type. |
boolean |
isFatal()
Whether this error is fatal. |
void |
printStackTrace()
Stack. |
Field Detail |
---|
static final int GENERAL
static final int INTERNAL
static final int STORE
static final int UNSUPPORTED
static final int USER
static final int WRAPPED
static final int UNAVAILABLE
Method Detail |
---|
String getMessage()
Throwable.getMessage()
Throwable getCause()
Throwable
from getNestedThrowables()
in order to conform to Throwable.getCause()
in Java 1.4+.
Throwable.getCause()
void printStackTrace()
Throwable.printStackTrace()
int getType()
int getSubtype()
boolean isFatal()
Throwable[] getNestedThrowables()
Object getFailedObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |