ehcache

net.sf.ehcache.transaction
Class TransactionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.ehcache.CacheException
                  extended by net.sf.ehcache.transaction.TransactionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DeadLockException, OptimisticLockFailureException, TransactionIDNotFoundException, TransactionInterruptedException, TransactionTimeoutException

public class TransactionException
extends CacheException

Instances of this class or its subclasses are thrown when an error happen in the transaction subsystem

Author:
Ludovic Orban
See Also:
Serialized Form

Constructor Summary
TransactionException(String message)
          Create a new TransactionException
TransactionException(String message, Throwable throwable)
          Create a new TransactionException
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionException

public TransactionException(String message)
Create a new TransactionException

Parameters:
message - the error message

TransactionException

public TransactionException(String message,
                            Throwable throwable)
Create a new TransactionException

Parameters:
message - the error message
throwable - the exception's cause

ehcache

Copyright 2001-2016, Terracotta, Inc.