org.apache.empire.db.exceptions
Class EmpireSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.empire.exceptions.EmpireException
org.apache.empire.db.exceptions.EmpireSQLException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- QueryFailedException, StatementFailedException
public class EmpireSQLException
- extends EmpireException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
errorType
public static final ErrorType errorType
EmpireSQLException
public EmpireSQLException(DBDatabaseDriver driver,
SQLException cause)
EmpireSQLException
public EmpireSQLException(DBObject obj,
SQLException cause)
EmpireSQLException
protected EmpireSQLException(ErrorType type,
String[] params,
int nativeErrorIndex,
SQLException cause)
messageFromSQLException
protected static String messageFromSQLException(DBDatabaseDriver driver,
SQLException sqle)
driverFromObject
protected static DBDatabaseDriver driverFromObject(DBObject obj)
getNativeErrorMessage
public String getNativeErrorMessage()
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.