Package jadex.future
Class ExceptionResultListener<E>
java.lang.Object
jadex.future.ExceptionResultListener<E>
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.future.IResultListener
exceptionOccurred
-
Constructor Details
-
ExceptionResultListener
public ExceptionResultListener()
-
-
Method Details
-
resultAvailable
Called when the result is available, ignore.- Specified by:
resultAvailable
in interfaceIResultListener<E>
- Parameters:
result
- The result.
-