|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 org.apache.openjpa.util.OpenJPAException |
getStore(org.apache.openjpa.lib.util.Localizer.Message msg,
java.sql.SQLException se,
DBDictionary dict)
Convert the specified exception into a StoreException . |
static org.apache.openjpa.util.OpenJPAException |
getStore(java.sql.SQLException se)
Convert the specified exception into a StoreException . |
static org.apache.openjpa.util.OpenJPAException |
getStore(java.sql.SQLException se,
DBDictionary dict)
Convert the specified exception into a StoreException . |
static org.apache.openjpa.util.OpenJPAException |
getStore(java.sql.SQLException se,
java.lang.Object failed)
Convert the specified exception into a OpenJPAException . |
static org.apache.openjpa.util.OpenJPAException |
getStore(java.sql.SQLException se,
java.lang.Object failed,
DBDictionary dict)
Convert the specified exception into a StoreException . |
static org.apache.openjpa.util.OpenJPAException |
getStore(java.lang.String msg,
java.sql.SQLException se,
DBDictionary dict)
Convert the specified exception into a StoreException . |
static org.apache.openjpa.util.OpenJPAException |
getStore(java.lang.String msg,
java.sql.SQLException se,
java.lang.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 org.apache.openjpa.util.OpenJPAException getStore(java.sql.SQLException se)
StoreException
.
public static org.apache.openjpa.util.OpenJPAException getStore(java.sql.SQLException se, java.lang.Object failed)
OpenJPAException
.
public static org.apache.openjpa.util.OpenJPAException getStore(java.sql.SQLException se, DBDictionary dict)
StoreException
.
public static org.apache.openjpa.util.OpenJPAException getStore(java.sql.SQLException se, java.lang.Object failed, DBDictionary dict)
StoreException
.
public static org.apache.openjpa.util.OpenJPAException getStore(org.apache.openjpa.lib.util.Localizer.Message msg, java.sql.SQLException se, DBDictionary dict)
StoreException
.
public static org.apache.openjpa.util.OpenJPAException getStore(java.lang.String msg, java.sql.SQLException se, DBDictionary dict)
StoreException
.
public static org.apache.openjpa.util.OpenJPAException getStore(java.lang.String msg, java.sql.SQLException se, java.lang.Object failed, DBDictionary dict)
StoreException
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |