Package org.apache.openjpa.jdbc.sql
Class SQLExceptions
java.lang.Object
org.apache.openjpa.jdbc.sql.SQLExceptions
Helper class for converting a
SQLException into
the appropriate OpenJPA type.- Author:
- Marc Prud'hommeaux
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OpenJPAExceptiongetStore(String msg, SQLException se, Object failed, DBDictionary dict) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(String msg, SQLException se, Object failed, DBDictionary dict, int level) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(String msg, SQLException se, DBDictionary dict) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(String msg, SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(SQLException se) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(SQLException se, Object failed) Convert the specified exception into aOpenJPAException.static OpenJPAExceptiongetStore(SQLException se, Object failed, DBDictionary dict) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(SQLException se, Object failed, DBDictionary dict, int level) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(SQLException se, DBDictionary dict) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(Localizer.Message msg, SQLException se, DBDictionary dict) Convert the specified exception into aStoreException.static OpenJPAExceptiongetStore(Localizer.Message msg, SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException.
-
Constructor Details
-
SQLExceptions
public SQLExceptions()
-
-
Method Details
-
getStore
Convert the specified exception into aStoreException. -
getStore
Convert the specified exception into aOpenJPAException. -
getStore
Convert the specified exception into aStoreException. -
getStore
Convert the specified exception into aStoreException. -
getStore
Convert the specified exception into aStoreException. -
getStore
public static OpenJPAException getStore(SQLException se, Object failed, DBDictionary dict, int level) Convert the specified exception into aStoreException. -
getStore
Convert the specified exception into aStoreException. -
getStore
public static OpenJPAException getStore(Localizer.Message msg, SQLException se, DBDictionary dict, int level) Convert the specified exception into aStoreException. -
getStore
Convert the specified exception into aStoreException. -
getStore
Convert the specified exception into aStoreException. -
getStore
public static OpenJPAException getStore(String msg, SQLException se, Object failed, DBDictionary dict) Convert the specified exception into aStoreException. -
getStore
public static OpenJPAException getStore(String msg, SQLException se, Object failed, DBDictionary dict, int level) Convert the specified exception into aStoreException.
-