Package jadex.commons.future
Class ExceptionResultListener<E>
- java.lang.Object
-
- jadex.commons.future.ExceptionResultListener<E>
-
- All Implemented Interfaces:
IFunctionalExceptionListener
,IFunctionalResultListener<E>
,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 Summary
Constructors Constructor Description ExceptionResultListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resultAvailable(E result)
Called when the result is available, ignore.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jadex.commons.future.IFunctionalExceptionListener
exceptionOccurred
-
-
-
-
Method Detail
-
resultAvailable
public void resultAvailable(E result)
Called when the result is available, ignore.- Specified by:
resultAvailable
in interfaceIFunctionalResultListener<E>
- Parameters:
result
- The result.
-
-