Package org.apache.openjpa.jdbc.sql
Class SQLExceptions
- java.lang.Object
-
- org.apache.openjpa.jdbc.sql.SQLExceptions
-
public class SQLExceptions extends Object
Helper class for converting aSQLExceptioninto 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 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.
-
-
-
Method Detail
-
getStore
public static OpenJPAException getStore(SQLException se)
Convert the specified exception into aStoreException.
-
getStore
public static OpenJPAException getStore(SQLException se, Object failed)
Convert the specified exception into aOpenJPAException.
-
getStore
public static OpenJPAException getStore(SQLException se, DBDictionary dict)
Convert the specified exception into aStoreException.
-
getStore
public static OpenJPAException getStore(SQLException se, DBDictionary dict, int level)
Convert the specified exception into aStoreException.
-
getStore
public static OpenJPAException getStore(SQLException se, Object failed, DBDictionary dict)
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
public static OpenJPAException getStore(Localizer.Message msg, SQLException se, DBDictionary dict)
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
public static OpenJPAException getStore(String msg, SQLException se, DBDictionary dict)
Convert the specified exception into aStoreException.
-
getStore
public static OpenJPAException getStore(String msg, SQLException se, DBDictionary dict, int level)
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.
-
-