public abstract class SwingExceptionDelegationResultListener<E,T> extends Object implements IResultListener<E>
Constructor and Description |
---|
SwingExceptionDelegationResultListener(Future<T> future)
Create a new listener.
|
Modifier and Type | Method and Description |
---|---|
void |
customExceptionOccurred(Exception exception)
Called when an exception occurred.
|
abstract void |
customResultAvailable(E result)
Called when the result is available.
|
void |
exceptionOccurred(Exception exception)
Called when an exception occurred.
|
void |
resultAvailable(E result)
Called when the result is available.
|
public final void resultAvailable(E result)
resultAvailable
in interface IResultListener<E>
result
- The result.public final void exceptionOccurred(Exception exception)
exceptionOccurred
in interface IResultListener<E>
exception
- The exception.public abstract void customResultAvailable(E result)
result
- The result.public void customExceptionOccurred(Exception exception)
exception
- The exception.Copyright © 2012. All Rights Reserved.