org.jtoolkit.essence.concurrency
Interface CallbackEx<T>

All Superinterfaces:
Callback<T>
All Known Subinterfaces:
CallbackSet<T>, Event.ListenerSet

public interface CallbackEx<T>
extends Callback<T>

Represents a Callback which can optionally process an Exception.

Author:
Peter Lawrey
See Also:
Callback, CallbackSet

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jtoolkit.essence.concurrency.Callback
Callback.Immediate, Callback.Threaded
 
Method Summary
 void onException(java.lang.Throwable t)
           
 
Methods inherited from interface org.jtoolkit.essence.concurrency.Callback
onCallback
 

Method Detail

onException

void onException(@NotNull
                 java.lang.Throwable t)
                 throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException


Copyright © Peter Lawrey. All Rights Reserved.