com.metamatrix.metadata.runtime.exception
Class InvalidStateException

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.MetaMatrixProcessingException
                      extended by com.metamatrix.vdb.edit.loader.VdbProcessingException
                          extended by com.metamatrix.metadata.runtime.exception.VirtualDatabaseException
                              extended by com.metamatrix.metadata.runtime.exception.InvalidStateException
All Implemented Interfaces:
java.io.Serializable

public class InvalidStateException
extends VirtualDatabaseException

Thrown when an update is requested on the VirtualDatabase and the VirtualDatabase is not in the proper state to allow it.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.metadata.runtime.exception.VirtualDatabaseException
MODEL_NON_DEPLOYABLE_STATE, NO_MODELS, VDB_NON_DEPLOYABLE_STATE
 
Fields inherited from class com.metamatrix.core.MetaMatrixCoreException
code
 
Constructor Summary
InvalidStateException()
          No-arg costructor required by Externalizable semantics
InvalidStateException(java.lang.Exception e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
InvalidStateException(java.lang.Exception 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.
InvalidStateException(java.lang.String message)
          Construct an instance with the message specified.
InvalidStateException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
 
Method Summary
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getFullMessage, toString
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCode, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidStateException

public InvalidStateException()
No-arg costructor required by Externalizable semantics


InvalidStateException

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

Parameters:
message - A message describing the exception

InvalidStateException

public InvalidStateException(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

InvalidStateException

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

Parameters:
code - A code denoting the exception
e - An exception to nest within this one

InvalidStateException

public InvalidStateException(java.lang.Exception 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


Copyright © 2009. All Rights Reserved.