org.apache.empire.db.exceptions
Class StatementFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.empire.exceptions.EmpireException
                  extended by org.apache.empire.db.exceptions.EmpireSQLException
                      extended by org.apache.empire.db.exceptions.StatementFailedException
All Implemented Interfaces:
Serializable

public class StatementFailedException
extends EmpireSQLException

See Also:
Serialized Form

Field Summary
static ErrorType errorType
           
 
Constructor Summary
StatementFailedException(DBObject obj, String sqlCmd, SQLException cause)
           
 
Method Summary
protected  void log()
          log the error
 
Methods inherited from class org.apache.empire.db.exceptions.EmpireSQLException
driverFromObject, getNativeErrorMessage, messageFromSQLException
 
Methods inherited from class org.apache.empire.exceptions.EmpireException
formatErrorMessage, getErrorParams, getErrorType
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorType

public static final ErrorType errorType
Constructor Detail

StatementFailedException

public StatementFailedException(DBObject obj,
                                String sqlCmd,
                                SQLException cause)
Method Detail

log

protected void log()
log the error

Overrides:
log in class EmpireException


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.