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