org.apache.openjpa.persistence
Class PersistenceExceptions
java.lang.Object
org.apache.openjpa.util.Exceptions
org.apache.openjpa.persistence.PersistenceExceptions
public class PersistenceExceptions
- extends Exceptions
Converts from OpenJPA to persistence exception types.
- Author:
- Abe White, Marc Prud'hommeaux
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSLATOR
public static final RuntimeExceptionTranslator TRANSLATOR
PersistenceExceptions
public PersistenceExceptions()
toPersistenceException
public static RuntimeException toPersistenceException(Throwable t)
- Convert the given throwable to the proper persistence exception.
Copyright © 2006 Apache Software Foundation. All Rights Reserved.