Uses of Class
org.apache.openjpa.util.OpenJPAException
Package
Description
OpenJPA-JDBC SQL Abstraction
OpenJPA Expression Tree
JPA Query Language Support
OpenJPA Utilities
-
Uses of OpenJPAException in org.apache.openjpa.jdbc.sql
Modifier and TypeMethodDescriptionstatic OpenJPAException
SQLExceptions.getStore
(String msg, SQLException se, Object failed, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(String msg, SQLException se, Object failed, DBDictionary dict, int level) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(String msg, SQLException se, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(String msg, SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, Object failed) Convert the specified exception into aOpenJPAException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, Object failed, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, Object failed, DBDictionary dict, int level) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(Localizer.Message msg, SQLException se, DBDictionary dict) Convert the specified exception into aStoreException
.static OpenJPAException
SQLExceptions.getStore
(Localizer.Message msg, SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException
.DB2Dictionary.newStoreException
(String msg, SQLException[] causes, Object failed) DBDictionary.newStoreException
(String msg, SQLException[] causes, Object failed) Return a new exception that wrapscauses
.HSQLDictionary.newStoreException
(String msg, SQLException[] causes, Object failed) JDataStoreDictionary.newStoreException
(String msg, SQLException[] causes, Object failed) -
Uses of OpenJPAException in org.apache.openjpa.kernel.exps
Modifier and TypeMethodDescriptionprotected OpenJPAException
AbstractExpressionBuilder.parseException
(int e, String token, Object[] args, Exception nest) Create a proper parse exception for the given reason. -
Uses of OpenJPAException in org.apache.openjpa.kernel.jpql
Modifier and TypeClassDescriptionclass
Signifies that a lexical error occurred when parsing the JPQL statement. -
Uses of OpenJPAException in org.apache.openjpa.util
Modifier and TypeClassDescriptionclass
Exception type thrown when an error occurs in a callback.class
General exception type.class
Exception type for internal errors.class
Exception type thrown when attempting to execute an operation that is not allowed by the current state.class
Exception indicating that locks on one or more objects could not be acquired.class
Exception type reserved for missing or invalid metadata.class
Exception type thrown when a query was configured to return a single result, and multiple results were found.class
Exception type thrown when a query was configured to return a single result, and no result was found.class
Exception type thrown when attempting a transactional operation without an active transaction.class
Exception type reserved for conflicts with existing objects.class
Exception type reserved for failed object lookups.class
Exception type for optimistic concurrency violations.class
Exception indicating that a query timeout occurred.class
Exception type reserved for violations of integrity constraints.class
Base exception for data store errors.class
Exception type for attempts to perform unsupported operations.class
Base exception type for user errors.class
Identifiable exception type which wraps an internal runtime exception.Modifier and TypeMethodDescriptionThe first nested throwable.OpenJPAException.setFailedObject
(Object failed) The failed object.OpenJPAException.setFatal
(boolean fatal) Whether this error is fatal.OpenJPAException.setNestedThrowables
(Throwable[] nested) The nested throwables. -
Uses of OpenJPAException in org.apache.openjpa.validation