- All Implemented Interfaces:
java.io.Serializable
@Internal
public class TestFailHard
extends java.lang.RuntimeException
Used only in testing: injects an error that will be handled as FAIL_HARD.
This is not an error class the transaction library would ever raise voluntarily. It is designed to simulate
an application crash or similar. The transaction will not rollback and will stop abruptly.
However, for testing purposes, a TransactionFailed will still be raised, correct in all respects including the
attempts field.
- See Also:
- Serialized Form