com.metamatrix.common.config.api.exceptions
Class ConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by com.metamatrix.api.exception.MetaMatrixException
                  extended by com.metamatrix.api.exception.MetaMatrixComponentException
                      extended by com.metamatrix.common.config.api.exceptions.ConfigurationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConfigurationConnectionException, ConfigurationLockException, DuplicateComponentException, InvalidArgumentException, InvalidComponentIDFormatException, InvalidConfigurationException, InvalidStringValueException, InvalidVersionException

public class ConfigurationException
extends MetaMatrixComponentException

See Also:
Serialized Form

Constructor Summary
ConfigurationException()
          No-Arg Constructor
ConfigurationException(java.lang.String message)
          Construct an instance with the message specified.
ConfigurationException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
ConfigurationException(java.lang.Throwable e)
          Construct an instance with a linked exception specified.
ConfigurationException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
ConfigurationException(java.lang.Throwable e, java.lang.String code, java.lang.String message)
          Construct an instance from a message and a code and an exception to chain to this one.
 
Method Summary
 int getActionIndex()
          Obtain the index corresponding to the action for which the exception occured on.
 void setActionIndex(int index)
          Set the index corresponding to the action item that the exception occured on.
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getCode, getFullMessage, getMessage, readExternal, setCode, toString, writeExternal
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationException

public ConfigurationException()
No-Arg Constructor


ConfigurationException

public ConfigurationException(java.lang.String message)
Construct an instance with the message specified.

Parameters:
message - A message describing the exception

ConfigurationException

public ConfigurationException(java.lang.Throwable e)
Construct an instance with a linked exception specified.

Parameters:
e - An exception to chain to this exception

ConfigurationException

public ConfigurationException(java.lang.String code,
                              java.lang.String message)
Construct an instance with the message and error code specified.

Parameters:
message - A message describing the exception
code - The error code

ConfigurationException

public ConfigurationException(java.lang.Throwable e,
                              java.lang.String message)
Construct an instance from a message and an exception to chain to this one.

Parameters:
message - A message describing the exception
e - An exception to nest within this one

ConfigurationException

public ConfigurationException(java.lang.Throwable e,
                              java.lang.String code,
                              java.lang.String message)
Construct an instance from a message and a code and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception
code - A code denoting the exception
Method Detail

setActionIndex

public void setActionIndex(int index)
Set the index corresponding to the action item that the exception occured on.

Parameters:
index - The action index.

getActionIndex

public int getActionIndex()
Obtain the index corresponding to the action for which the exception occured on.

Returns:
the index for the action that the exception occured on.


Copyright © 2009. All Rights Reserved.