Snapper 1.1 API

org.enhydra.snapper.api
Class TransactionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.enhydra.snapper.api.RootException
              extended by org.enhydra.snapper.api.TransactionException
All Implemented Interfaces:
java.io.Serializable

public class TransactionException
extends RootException

Exception thrown by implementations of SnapperTransaction and other transaction interfaces.

Author:
Vladimir Puskas, Igor Smirnov
See Also:
Serialized Form

Constructor Summary
TransactionException(java.lang.String message)
          Constructs a new transaction exception with the specified detail message.
TransactionException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new transaction exception with the specified detail message and cause.
TransactionException(java.lang.Throwable cause)
          Constructs a new transaction exception with the specified cause.
 
Method Summary
 
Methods inherited from class org.enhydra.snapper.api.RootException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionException

public TransactionException(java.lang.String message)
Constructs a new transaction exception with the specified detail message.

Parameters:
message - the detail message.

TransactionException

public TransactionException(java.lang.String message,
                            java.lang.Throwable cause)
Constructs a new transaction exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - A null value is permitted, and indicates that the cause is nonexistent or unknown.

TransactionException

public TransactionException(java.lang.Throwable cause)
Constructs a new transaction exception with the specified cause.

Parameters:
cause - A null value is permitted, and indicates that the cause is nonexistent or unknown.

Snapper 1.1 API