|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.command.AbstractCommand org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommandWithResult<T> org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommandWithResultAndException<T,E>
T
- result typeE
- exception typepublic abstract class EMFStoreCommandWithResultAndException<T,E>
Command that can buffer a result for later retrieval.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
org.eclipse.emf.common.command.AbstractCommand.NonDirtying |
Constructor Summary | |
---|---|
EMFStoreCommandWithResultAndException()
|
Method Summary | |
---|---|
E |
getException()
Get the exception that occured during command execution if any. |
boolean |
hasException()
Determine if an exception occured during command execution. |
Methods inherited from class org.eclipse.emf.emfstore.internal.client.model.util.EMFStoreCommandWithResult |
---|
run, run |
Methods inherited from class org.eclipse.emf.emfstore.internal.client.model.util.AbstractEMFStoreCommand |
---|
canUndo, execute, getRuntimeException, redo, shouldIgnoreExceptions |
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
canExecute, chain, dispose, getAffectedObjects, getDescription, getLabel, getResult, setDescription, setLabel, toString, undo |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EMFStoreCommandWithResultAndException()
Method Detail |
---|
public E getException()
public boolean hasException()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |