|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.sql.SQLExceptions
public class SQLExceptions
Helper class for converting a SQLException
into
the appropriate OpenJPA type.
Constructor Summary | |
---|---|
SQLExceptions()
|
Method Summary | |
---|---|
static OpenJPAException |
getStore(Localizer.Message msg,
SQLException se,
DBDictionary dict)
Convert the specified exception into a StoreException . |
static OpenJPAException |
getStore(SQLException se)
Convert the specified exception into a StoreException . |
static OpenJPAException |
getStore(SQLException se,
DBDictionary dict)
Convert the specified exception into a StoreException . |
static OpenJPAException |
getStore(SQLException se,
Object failed)
Convert the specified exception into a OpenJPAException . |
static OpenJPAException |
getStore(SQLException se,
Object failed,
DBDictionary dict)
Convert the specified exception into a StoreException . |
static OpenJPAException |
getStore(String msg,
SQLException se,
DBDictionary dict)
Convert the specified exception into a StoreException . |
static OpenJPAException |
getStore(String msg,
SQLException se,
Object failed,
DBDictionary dict)
Convert the specified exception into a StoreException . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLExceptions()
Method Detail |
---|
public static OpenJPAException getStore(SQLException se)
StoreException
.
public static OpenJPAException getStore(SQLException se, Object failed)
OpenJPAException
.
public static OpenJPAException getStore(SQLException se, DBDictionary dict)
StoreException
.
public static OpenJPAException getStore(SQLException se, Object failed, DBDictionary dict)
StoreException
.
public static OpenJPAException getStore(Localizer.Message msg, SQLException se, DBDictionary dict)
StoreException
.
public static OpenJPAException getStore(String msg, SQLException se, DBDictionary dict)
StoreException
.
public static OpenJPAException getStore(String msg, SQLException se, Object failed, DBDictionary dict)
StoreException
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |