public class StatementFailedException extends EmpireSQLException
Modifier | Constructor and Description |
---|---|
|
StatementFailedException(DBMSHandler dbms,
String sqlCmd,
SQLException cause)
Constructor for StatementFailedException
|
protected |
StatementFailedException(ErrorType type,
String[] params,
int nativeErrorIndex,
SQLException cause)
Constructor for derived classes only
|
Modifier and Type | Method and Description |
---|---|
protected void |
log()
log the error
|
getNativeErrorMessage, handlerFromObject, messageFromSQLException
formatErrorMessage, getErrorParams, getErrorType
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final ErrorType errorType
public StatementFailedException(DBMSHandler dbms, String sqlCmd, SQLException cause)
dbms
- the DBMSsqlCmd
- the failed SQL commandcause
- the SQLExceptionprotected StatementFailedException(ErrorType type, String[] params, int nativeErrorIndex, SQLException cause)
protected void log()
log
in class EmpireException
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.