org.eclipse.gmt.umlx.editor.exceptions
Class NotUnlockedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.gmt.umlx.editor.exceptions.AbstractFailureException
              extended by org.eclipse.gmt.umlx.editor.exceptions.PreparationFailureException
                  extended by org.eclipse.gmt.umlx.editor.exceptions.NotUnlockedException
All Implemented Interfaces:
java.io.Serializable

public class NotUnlockedException
extends PreparationFailureException

An AbortCommandException is used to exit cl;eanly througfh the command execution hierarchy bypassing all its canExecute and such like paraphernalia.

See Also:
Serialized Form

Field Summary
 IAbstractCommand command
           
 org.eclipse.emf.ecore.resource.Resource lockedResource
           
 
Constructor Summary
NotUnlockedException(org.eclipse.emf.ecore.resource.Resource lockedResource, IAbstractCommand command)
           
 
Method Summary
 
Methods inherited from class org.eclipse.gmt.umlx.editor.exceptions.AbstractFailureException
toTestString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lockedResource

public final org.eclipse.emf.ecore.resource.Resource lockedResource

command

public final IAbstractCommand command
Constructor Detail

NotUnlockedException

public NotUnlockedException(org.eclipse.emf.ecore.resource.Resource lockedResource,
                            IAbstractCommand command)