com.ibm.commerce.payments.configurator
Class DatabaseOperationFailedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.commerce.payments.configurator.ConfigurationException
                    |
                    +--com.ibm.commerce.payments.configurator.DatabaseOperationFailedException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseOperationFailedException
extends ConfigurationException

Thrown whenever a database operation fails and a more specific exception cannot be used instead.

See Also:
Serialized Form

Constructor Summary
DatabaseOperationFailedException()
          Default constructor
DatabaseOperationFailedException(java.sql.SQLException ex)
          Constructor that includes a SQL exception
 
Method Summary
 int getErrorCode()
          Gets the error code for the sql exception
 void setErrorCode(java.sql.SQLException ex)
          Sets the error code for the sql exception
 
Methods inherited from class com.ibm.commerce.payments.configurator.ConfigurationException
exit, getMessageId, getObjects, getWrappedException, printFullStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseOperationFailedException

public DatabaseOperationFailedException()
Default constructor

DatabaseOperationFailedException

public DatabaseOperationFailedException(java.sql.SQLException ex)
Constructor that includes a SQL exception
Parameters:
ex - sql exception
Method Detail

setErrorCode

public void setErrorCode(java.sql.SQLException ex)
Sets the error code for the sql exception
Parameters:
ex - sql exception

getErrorCode

public int getErrorCode()
Gets the error code for the sql exception
Returns:
errorcode