|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.util.Exceptions org.apache.openjpa.persistence.PersistenceExceptions
public class PersistenceExceptions
Converts from OpenJPA to persistence exception types.
Field Summary | |
---|---|
static org.apache.openjpa.util.RuntimeExceptionTranslator |
TRANSLATOR
|
Fields inherited from class org.apache.openjpa.util.Exceptions |
---|
EMPTY_THROWABLES |
Constructor Summary | |
---|---|
PersistenceExceptions()
|
Method Summary | |
---|---|
static java.lang.RuntimeException |
toPersistenceException(java.lang.Throwable t)
Convert the given throwable to the proper persistence exception. |
Methods inherited from class org.apache.openjpa.util.Exceptions |
---|
printNestedThrowables, printNestedThrowables, replaceFailedObject, replaceNestedThrowables, toString, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.openjpa.util.RuntimeExceptionTranslator TRANSLATOR
Constructor Detail |
---|
public PersistenceExceptions()
Method Detail |
---|
public static java.lang.RuntimeException toPersistenceException(java.lang.Throwable t)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |