Class ThrowableFailureEvent

  • All Implemented Interfaces:

    public class ThrowableFailureEvent
    extends java.lang.Object
    implements HasExecutionScope
    A generic failure event, which can be used by apps to propagate thrown exceptions. Used as default failure event by AsyncExecutor.
    • Field Detail

      • throwable

        protected final java.lang.Throwable throwable
      • suppressErrorUi

        protected final boolean suppressErrorUi
    • Constructor Detail

      • ThrowableFailureEvent

        public ThrowableFailureEvent​(java.lang.Throwable throwable)
      • ThrowableFailureEvent

        public ThrowableFailureEvent​(java.lang.Throwable throwable,
                                     boolean suppressErrorUi)
        suppressErrorUi - true indicates to the receiver that no error UI (e.g. dialog) should now displayed.
    • Method Detail

      • getThrowable

        public java.lang.Throwable getThrowable()
      • isSuppressErrorUi

        public boolean isSuppressErrorUi()