Package org.multiverse.api.exceptions
Class PropagationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.multiverse.api.exceptions.TxnExecutionException
org.multiverse.api.exceptions.PropagationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TxnMandatoryException
,TxnNotAllowedException
An
IllegalStateException
throw when there is a conflict with the Txn
propagation. For more information PropagationLevel
.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
PropagationException
public PropagationException()Creates a new PropagationException. -
PropagationException
Creates a new PropagationException with the provided message.- Parameters:
message
- the message of the exception.
-
PropagationException
Creates a new PropagationException with the provided message and cause.- Parameters:
message
- the message of the exceptioncause
- the cause of the exception.
-