Class AbortedAsRequestedNoRollbackNoCleanup

  • All Implemented Interfaces:

    public class AbortedAsRequestedNoRollbackNoCleanup
    extends java.lang.RuntimeException
    Used only in testing: force the txn to abort, but don't rollback, and don't retry, and don't cleanup. It will leave the txn in Pending, e.g. it simulates the edge case {LOST-STATE-EXPIRED-NOABORT}. Throw AttemptExpired to simulate the more common {LOST-STATE-EXPIRED-ABORTED}.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbortedAsRequestedNoRollbackNoCleanup

        public AbortedAsRequestedNoRollbackNoCleanup()
      • AbortedAsRequestedNoRollbackNoCleanup

        public AbortedAsRequestedNoRollbackNoCleanup​(java.lang.String msg)