public class QueryFailedException extends EmpireSQLException
EmpireException.ExceptionMessageFormatter
Constructor and Description |
---|
QueryFailedException(DBMSHandler dbms,
String sqlCmd,
SQLException cause) |
QueryFailedException(DBObject obj,
String sqlCmd,
SQLException cause) |
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 QueryFailedException(DBMSHandler dbms, String sqlCmd, SQLException cause)
public QueryFailedException(DBObject obj, String sqlCmd, SQLException cause)
protected void log()
log
in class EmpireException
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.