org.apache.jackrabbit.core
Class TransactionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.jackrabbit.BaseException
              extended byorg.apache.jackrabbit.core.TransactionException
All Implemented Interfaces:
Serializable

public class TransactionException
extends org.apache.jackrabbit.BaseException

TransactionException is thrown when some operation inside the transaction fails.

See Also:
Serialized Form

Constructor Summary
TransactionException(String message)
          Creates an instance of this class.
TransactionException(String message, Throwable rootCause)
          Creates an instance of this class.
 
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)
Creates an instance of this class. Takes a detail message as parameter.

Parameters:
message - message

TransactionException

public TransactionException(String message,
                            Throwable rootCause)
Creates an instance of this class. Takes a message and a root throwable as parameter.

Parameters:
message - message
rootCause - root throwable


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.