com.ibm.commerce.payments.configurator
Class ConfigurationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.commerce.payments.configurator.ConfigurationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CassetteAlreadyExistsException, CassetteCannotBeAddedException, CassetteCannotBeRemovedException, CassetteDoesNotExistException, CassetteNotInstalledException, DatabaseConnectionFailedException, DatabaseOperationFailedException, MigrationErrorException

public class ConfigurationException
extends java.lang.Exception

Basic exception for configuration tasks.

All exceptions thrown by the configuration inherit from this class.

See Also:
Serialized Form

Constructor Summary
ConfigurationException()
          Default constructor
ConfigurationException(java.lang.Exception e)
          Constructor including an exception object as a parameter
ConfigurationException(java.lang.Exception e, java.lang.String messageID, java.lang.Object[] objs)
          Constructor inclusing an exception object, a message ID, and an object array
ConfigurationException(java.lang.String messageID, java.lang.Object[] objs)
          Constructor including a message ID and an object array
 
Method Summary
 void exit()
          Exit the program.
 java.lang.String getMessageId()
          Get exception text
 java.lang.Object[] getObjects()
          Get object array
 java.lang.Exception getWrappedException()
          Get wrapped exception
static void printFullStackTrace()
          Display the full stack trace
 
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

ConfigurationException

public ConfigurationException()
Default constructor

ConfigurationException

public ConfigurationException(java.lang.Exception e)
Constructor including an exception object as a parameter
Parameters:
e - the exception

ConfigurationException

public ConfigurationException(java.lang.String messageID,
                              java.lang.Object[] objs)
Constructor including a message ID and an object array
Parameters:
messageID - exception message
objs -  

ConfigurationException

public ConfigurationException(java.lang.Exception e,
                              java.lang.String messageID,
                              java.lang.Object[] objs)
Constructor inclusing an exception object, a message ID, and an object array
Parameters:
e - The exception
messageID - exception message
objs -  
Method Detail

getMessageId

public java.lang.String getMessageId()
Get exception text
Returns:
exception message

getWrappedException

public java.lang.Exception getWrappedException()
Get wrapped exception
Returns:
wrapped exception

getObjects

public java.lang.Object[] getObjects()
Get object array
Returns:
object array

printFullStackTrace

public static void printFullStackTrace()
Display the full stack trace

exit

public void exit()
Exit the program. This should only be called in extreme dire circumstances that requires configuration to terminate