com.metamatrix.platform.config.spi.xml
Class ConfigTransactionException

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.common.transaction.TransactionException
                      extended by com.metamatrix.platform.config.spi.xml.ConfigTransactionException
All Implemented Interfaces:
java.io.Serializable

public class ConfigTransactionException
extends TransactionException

Date Oct 10, 2002 TransactionException exception indicates that the request cannot be executed because of an error with the transaction.

See Also:
Serialized Form

Field Summary
static java.lang.String TRANS_ALREADY_LOCKED
           
static java.lang.String TRANS_NOT_LOCKED_BY_SAME_USER
           
static java.lang.String TRANS_PROCESSING_ERROR
           
 
Constructor Summary
ConfigTransactionException()
          No-arg CTOR
ConfigTransactionException(java.lang.Exception e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
ConfigTransactionException(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.
ConfigTransactionException(java.lang.String message)
          Construct an instance with the message specified.
ConfigTransactionException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
 
Method Summary
 java.lang.String getTransactionState()
           
 void readExternal(java.io.ObjectInput in)
           
 void setTransactionState(java.lang.String code)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getCode, getFullMessage, getMessage, setCode, toString
 
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

TRANS_ALREADY_LOCKED

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

TRANS_NOT_LOCKED_BY_SAME_USER

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

TRANS_PROCESSING_ERROR

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

ConfigTransactionException

public ConfigTransactionException()
No-arg CTOR


ConfigTransactionException

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

Parameters:
message - A message describing the exception

ConfigTransactionException

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

ConfigTransactionException

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

ConfigTransactionException

public ConfigTransactionException(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
Method Detail

setTransactionState

public void setTransactionState(java.lang.String code)

getTransactionState

public java.lang.String getTransactionState()

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Overrides:
readExternal in class MetaMatrixException
Throws:
java.io.IOException
java.lang.ClassNotFoundException
See Also:
Externalizable.readExternal(java.io.ObjectInput)

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Overrides:
writeExternal in class MetaMatrixException
Throws:
java.io.IOException
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)


Copyright © 2009. All Rights Reserved.