com.softwareag.tamino.db.api.connection
Class TTransactionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.softwareag.tamino.db.api.common.TException
              extended by com.softwareag.tamino.db.api.connection.TConnectionException
                  extended by com.softwareag.tamino.db.api.connection.TTransactionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TTransactionModeException

public class TTransactionException
extends TConnectionException

TTransactionException represents a general purpose exception for the transaction handling with Tamino. Each time a transaction specific action fails, a TTransactionException instance should be thrown.

Version:
$Revision: 1.11 $
Author:
Marcus Schreyer
See Also:
Serialized Form

Constructor Summary
TTransactionException(java.lang.Exception nestedException, java.util.Locale locale)
          Initializes a TTransactionException instance with an internal nested exception.
TTransactionException(java.lang.String message, java.lang.Exception nestedException, java.util.Locale locale)
          Initializes a TTransactionException instance with a message and an internal nested exception.
TTransactionException(java.lang.String message, java.util.Locale locale)
          Initializes a TTransactionException instance with a message.
TTransactionException(TResourceId resourceId, java.lang.Exception nestedException, java.util.Locale locale)
          Initializes a TTransactionException instance with a resource message and an internal nested exception.
TTransactionException(TResourceId resourceId, java.util.Locale locale)
          Initializes a TTransactionException instance with a resource message.
 
Method Summary
 
Methods inherited from class com.softwareag.tamino.db.api.common.TException
getAccessFailureException, getAdditionalXMLMessageContent, getCause, getDeepestException, getDeepestTException, getExceptionMessage, getLocale, getMessageCode, getMessageContent, getNestedException, getResourceMessage, getRootCause, getRootTCause, getXMLMessage, getXMLMessage, hasAccessFailureException, hasCause, hasNestedException, printStackTrace, printStackTrace, printStackTrace, setLocale, toString, toXMLString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TTransactionException

public TTransactionException(java.lang.String message,
                             java.util.Locale locale)
Initializes a TTransactionException instance with a message.

Parameters:
message - is handed further to the base class.

TTransactionException

public TTransactionException(java.lang.String message,
                             java.lang.Exception nestedException,
                             java.util.Locale locale)
Initializes a TTransactionException instance with a message and an internal nested exception.

Parameters:
message - is handed further to the base class.
nestedException - can be nested into a TTransactionException if it is given.

TTransactionException

public TTransactionException(java.lang.Exception nestedException,
                             java.util.Locale locale)
Initializes a TTransactionException instance with an internal nested exception.

Parameters:
nestedException - can be nested into a TTransactionException if it is given.

TTransactionException

public TTransactionException(TResourceId resourceId,
                             java.util.Locale locale)
Initializes a TTransactionException instance with a resource message.

Parameters:
resourceId - containing the message of this exception
See Also:
TResourceId

TTransactionException

public TTransactionException(TResourceId resourceId,
                             java.lang.Exception nestedException,
                             java.util.Locale locale)
Initializes a TTransactionException instance with a resource message and an internal nested exception.

Parameters:
resourceId - containing the message of this exception
nestedException - can be nested into a TException if it is given
See Also:
TResourceId


Copyright (c) 2013 Software AG. All Rights Reserved.