org.eclipse.emf.emfstore.client.util
Class ESVoidCallableWithException<E extends Exception>
java.lang.Object
org.eclipse.emf.emfstore.client.util.ESVoidCallableWithException<E>
- Type Parameters:
E
- the type of exception thrown by run
- All Implemented Interfaces:
- Callable<Void>
public abstract class ESVoidCallableWithException<E extends Exception>
- extends Object
- implements Callable<Void>
Convenience class for using RunESCommand
without a return value,
but possibly throwing an exception.
Method Summary |
Void |
call()
|
abstract void |
run()
Executes this callable. |
ESVoidCallableWithException
public ESVoidCallableWithException()
call
public Void call()
throws Exception
-
- Specified by:
call
in interface Callable<Void>
- Throws:
Exception
- See Also:
Callable.call()
run
public abstract void run()
throws Exception
- Executes this callable.
- Throws:
Exception
- in case an error occurs
Copyright © 2015. All Rights Reserved.