|
||||||||||
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 |
UNSUPPORTED
|
static int |
USER
|
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
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 |