Class TransactionFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.spongepowered.configurate.reactive.TransactionFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class TransactionFailedException extends java.lang.Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionFailedException()
Create an exception indicating a transaction has failed for an unknown reason.TransactionFailedException(java.lang.Throwable cause)
Create an exception wrapping the cause of a transaction failure.
-
-
-
Constructor Detail
-
TransactionFailedException
public TransactionFailedException()
Create an exception indicating a transaction has failed for an unknown reason.- Since:
- 4.0.0
-
TransactionFailedException
public TransactionFailedException(java.lang.Throwable cause)
Create an exception wrapping the cause of a transaction failure.- Parameters:
cause
- the original exception cause- Since:
- 4.0.0
-
-