org.multiverse.api.exceptions
Class PropagationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.multiverse.api.exceptions.TxnExecutionException
                  extended by org.multiverse.api.exceptions.PropagationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TxnMandatoryException, TxnNotAllowedException

public class PropagationException
extends TxnExecutionException

An IllegalStateException throw when there is a conflict with the Txn propagation. For more information PropagationLevel.

Author:
Peter Veentjer.
See Also:
Serialized Form

Constructor Summary
PropagationException()
          Creates a new PropagationException.
PropagationException(String message)
          Creates a new PropagationException with the provided message.
PropagationException(String message, Throwable cause)
          Creates a new PropagationException with the provided message and cause.
 
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

PropagationException

public PropagationException()
Creates a new PropagationException.


PropagationException

public PropagationException(String message)
Creates a new PropagationException with the provided message.

Parameters:
message - the message of the exception.

PropagationException

public PropagationException(String message,
                            Throwable cause)
Creates a new PropagationException with the provided message and cause.

Parameters:
message - the message of the exception
cause - the cause of the exception.


Copyright © 2012. All Rights Reserved.