Class PreviousOperationFailed

  • All Implemented Interfaces:
    java.io.Serializable

    public class PreviousOperationFailed
    extends java.lang.RuntimeException
    A previous operation in the application's lambda failed, and so the currently-attempt operation is also not permitted to proceed. This is most likely thrown in one of these two scenarios: 1. The application is performing multiple operations in parallel and one of them has failed. For performance it is best to fail all other operations immediately (the transaction is not going to commit anyway), so can get to the fail and possibly retry point as soon as possible. 2. The application is erroneously catching and not propagating exceptions in the lambda.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Throwable> causes()
      Return the underlying causes for this failure
      • 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

      • PreviousOperationFailed

        public PreviousOperationFailed()
      • PreviousOperationFailed

        public PreviousOperationFailed​(java.util.List<java.lang.Throwable> causes)
    • Method Detail

      • causes

        public java.util.List<java.lang.Throwable> causes()
        Return the underlying causes for this failure