public class StatementFailedException extends EmpireSQLException
EmpireException.ExceptionMessageFormatter| 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, messageFromSQLExceptionformatErrorMessage, getErrorParams, getErrorType, getMessageFormatter, setMessageFormatteraddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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)
type - the error typeparams - the error paramsnativeErrorIndex - the navtive error indexcause - the causing exceptionprotected void log()
log in class EmpireExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.