com.metamatrix.metadata.runtime.exception
Class VirtualDatabaseException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidStateException, VirtualDatabaseDoesNotExistException

public class VirtualDatabaseException
extends VdbProcessingException

The base exception from which all Runtime Metadata Exceptions extend.

See Also:
Serialized Form

Field Summary
static java.lang.String MODEL_NON_DEPLOYABLE_STATE
           
static java.lang.String NO_MODELS
           
static java.lang.String VDB_NON_DEPLOYABLE_STATE
           
 
Constructor Summary
VirtualDatabaseException()
          No-arg costructor required by Externalizable semantics
VirtualDatabaseException(java.lang.Exception e)
          Construct an instance from an exception to chain to this one.
VirtualDatabaseException(java.lang.Exception e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
VirtualDatabaseException(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.
VirtualDatabaseException(java.lang.String message)
          Construct an instance with the message specified.
VirtualDatabaseException(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, 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
 

Field Detail

NO_MODELS

public static final java.lang.String NO_MODELS
See Also:
Constant Field Values

MODEL_NON_DEPLOYABLE_STATE

public static final java.lang.String MODEL_NON_DEPLOYABLE_STATE
See Also:
Constant Field Values

VDB_NON_DEPLOYABLE_STATE

public static final java.lang.String VDB_NON_DEPLOYABLE_STATE
See Also:
Constant Field Values
Constructor Detail

VirtualDatabaseException

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


VirtualDatabaseException

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

Parameters:
message - A message describing the exception

VirtualDatabaseException

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

VirtualDatabaseException

public VirtualDatabaseException(java.lang.Exception e)
Construct an instance from an exception to chain to this one.

Parameters:
e - An exception to nest within this one

VirtualDatabaseException

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

VirtualDatabaseException

public VirtualDatabaseException(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.