Class ExceptionResultListener<E>

  • All Implemented Interfaces:
    IResultListener<E>

    public abstract class ExceptionResultListener<E>
    extends java.lang.Object
    implements IResultListener<E>
    The exception listener is used for intercepting exceptions while ignoring results. This is useful for "fire-and-forget" method that still occasionally return exceptions.
    • Constructor Detail

      • ExceptionResultListener

        public ExceptionResultListener()
    • Method Detail

      • resultAvailable

        public void resultAvailable​(E result)
        Called when the result is available, ignore.
        Specified by:
        resultAvailable in interface IResultListener<E>
        Parameters:
        result - The result.