public class EmpireSQLException extends EmpireException
Modifier | Constructor and Description |
---|---|
|
EmpireSQLException(DBDatabaseDriver driver,
SQLException cause) |
|
EmpireSQLException(DBObject obj,
SQLException cause) |
protected |
EmpireSQLException(ErrorType type,
String[] params,
int nativeErrorIndex,
SQLException cause) |
Modifier and Type | Method and Description |
---|---|
protected static DBDatabaseDriver |
driverFromObject(DBObject obj) |
String |
getNativeErrorMessage() |
protected static String |
messageFromSQLException(DBDatabaseDriver driver,
SQLException sqle) |
formatErrorMessage, getErrorParams, getErrorType, log
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final ErrorType errorType
public EmpireSQLException(DBDatabaseDriver driver, SQLException cause)
public EmpireSQLException(DBObject obj, SQLException cause)
protected EmpireSQLException(ErrorType type, String[] params, int nativeErrorIndex, SQLException cause)
protected static String messageFromSQLException(DBDatabaseDriver driver, SQLException sqle)
protected static DBDatabaseDriver driverFromObject(DBObject obj)
public String getNativeErrorMessage()
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.