org.apache.jackrabbit.core
Class TransactionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.jackrabbit.core.TransactionException
All Implemented Interfaces:
Serializable

public class TransactionException
extends Exception

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.
 
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)
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-2010 The Apache Software Foundation. All Rights Reserved.