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