Package | Description |
---|---|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
|
org.apache.openjpa.kernel.exps |
OpenJPA Expression Tree
|
org.apache.openjpa.kernel.jpql |
JPA Query Language Support
|
org.apache.openjpa.util |
OpenJPA Utilities
|
org.apache.openjpa.validation |
Modifier and Type | Method and Description |
---|---|
static OpenJPAException |
SQLExceptions.getStore(Localizer.Message msg,
SQLException se,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(Localizer.Message msg,
SQLException se,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
Object failed)
Convert the specified exception into a
OpenJPAException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
Object failed,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(SQLException se,
Object failed,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(String msg,
SQLException se,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(String msg,
SQLException se,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(String msg,
SQLException se,
Object failed,
DBDictionary dict)
Convert the specified exception into a
StoreException . |
static OpenJPAException |
SQLExceptions.getStore(String msg,
SQLException se,
Object failed,
DBDictionary dict,
int level)
Convert the specified exception into a
StoreException . |
OpenJPAException |
JDataStoreDictionary.newStoreException(String msg,
SQLException[] causes,
Object failed) |
OpenJPAException |
HSQLDictionary.newStoreException(String msg,
SQLException[] causes,
Object failed) |
OpenJPAException |
DBDictionary.newStoreException(String msg,
SQLException[] causes,
Object failed)
Return a new exception that wraps
causes . |
OpenJPAException |
DB2Dictionary.newStoreException(String msg,
SQLException[] causes,
Object failed) |
Modifier and Type | Method and Description |
---|---|
protected OpenJPAException |
AbstractExpressionBuilder.parseException(int e,
String token,
Object[] args,
Exception nest)
Create a proper parse exception for the given reason.
|
Modifier and Type | Class and Description |
---|---|
class |
ParseException
Signifies that a lexical error occurred when parsing the JPQL statement.
|
Modifier and Type | Class and Description |
---|---|
class |
CallbackException
Exception type thrown when an error occurs in a callback.
|
class |
GeneralException
General exception type.
|
class |
InternalException
Exception type for internal errors.
|
class |
InvalidStateException
Exception type thrown when attempting to execute an operation that
is not allowed by the current state.
|
class |
LockException
Exception indicating that locks on one or more objects could not be acquired.
|
class |
MetaDataException
Exception type reserved for missing or invalid metadata.
|
class |
NonUniqueResultException
Exception type thrown when a query was configured to return
a single result, and multiple results were found.
|
class |
NoResultException
Exception type thrown when a query was configured to return
a single result, and no result was found.
|
class |
NoTransactionException
Exception type thrown when attempting a transactional operation without
an active transaction.
|
class |
ObjectExistsException
Exception type reserved for conflicts with existing objects.
|
class |
ObjectNotFoundException
Exception type reserved for failed object lookups.
|
class |
OptimisticException
Exception type for optimistic concurrency violations.
|
class |
QueryException
Exception indicating that a query timeout occurred.
|
class |
ReferentialIntegrityException
Exception type reserved for violations of integrity constraints.
|
class |
StoreException
Base exception for data store errors.
|
class |
UnsupportedException
Exception type for attempts to perform unsupported operations.
|
class |
UserException
Base exception type for user errors.
|
class |
WrappedException |
Modifier and Type | Method and Description |
---|---|
OpenJPAException |
OpenJPAException.setCause(Throwable nested)
The first nested throwable.
|
OpenJPAException |
OpenJPAException.setFailedObject(Object failed)
The failed object.
|
OpenJPAException |
OpenJPAException.setFatal(boolean fatal)
Whether this error is fatal.
|
OpenJPAException |
OpenJPAException.setNestedThrowables(Throwable[] nested)
The nested throwables.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidationException |
class |
ValidationUnavailableException |
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.