svn commit: r17125 - trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/UndoCoreHelperDecorator.java

Thomas Neustupny <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: thn
Date: 2009-04-24 00:24:46-0700
New Revision: 17125

Modified:
   trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/UndoCoreHelperDecorator.java

Log:
UML2: raised exceptions and some other needed stuff for UML2 operations

Modified: trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/UndoCoreHelperDecorator.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/UndoCoreHelperDecorator.java?view=diff&pathrev=17125&r1=17124&r2=17125
==============================================================================
--- trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/UndoCoreHelperDecorator.java	(original)
+++ trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/UndoCoreHelperDecorator.java	2009-04-24 00:24:46-0700
@@ -32,6 +32,7 @@
 import org.argouml.model.DummyModelCommand;
 import org.argouml.model.Model;
 import org.argouml.model.ModelCommand;
+import org.argouml.model.NotImplementedException;
 
 
 /**
@@ -471,6 +472,16 @@
         super.addRaisedSignal(handle, sig);
         Model.execute(new DummyModelCommand());
     }
+    
+    /**
+     * Dummy method for UML 1.x
+     * 
+     * @author Andreas Rueckert <[email protected]>
+     * @see org.argouml.model.CoreHelper#addRaisedException(java.lang.Object, java.lang.Object)
+     */
+    public void addRaisedException(Object handle, Object exception) {
+        throw new NotImplementedException("A UML 1.x operation has no exceptions");
+    }
 
     public void addSourceFlow(Object handle, Object flow) {
         super.addSourceFlow(handle, flow);

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1887800

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.