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, messageFromSQLException
formatErrorMessage, getErrorParams, getErrorType, getMessageFormatter, setMessageFormatter
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)
type
- the error typeparams
- the error paramsnativeErrorIndex
- the navtive error indexcause
- the causing exceptionprotected void log()
log
in class EmpireException
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.