Class TransactionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.spongepowered.configurate.reactive.TransactionFailedException
- All Implemented Interfaces:
Serializable
Indicate that the newly submitted value was invalid, and the transaction that
submitted the new value should be marked as a failure.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an exception indicating a transaction has failed for an unknown reason.Create an exception wrapping the cause of a transaction failure. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionFailedException
public TransactionFailedException()Create an exception indicating a transaction has failed for an unknown reason.- Since:
- 4.0.0
-
TransactionFailedException
Create an exception wrapping the cause of a transaction failure.- Parameters:
cause
- the original exception cause- Since:
- 4.0.0
-