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 TypeMethodDescriptionvoidresultAvailable(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, waitMethods inherited from interface jadex.future.IResultListener
exceptionOccurred
-
Constructor Details
-
ExceptionResultListener
public ExceptionResultListener()
-
-
Method Details
-
resultAvailable
Called when the result is available, ignore.- Specified by:
resultAvailablein interfaceIResultListener<E>- Parameters:
result- The result.
-