svn commit: r18337 - trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bobtarling
Date: 2010-04-27 05:44:08-0700
New Revision: 18337
Modified:
trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java
Log:
Only throw exception if multiplicity not valid (the handle exception will be thrown from call to Facade)
Modified: trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java?view=diff&pathrev=18337&r1=18336&r2=18337
==============================================================================
--- trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java (original)
+++ trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java 2010-04-27 05:44:08-0700
@@ -2957,10 +2957,11 @@
}
Model.getUmlFactory().delete(previousMult);
}
+ return;
+ } else {
+ throw new IllegalArgumentException("handle: " + handle + " or arg: "
+ + arg);
}
-
- throw new IllegalArgumentException("handle: " + handle + " or arg: "
- + arg);
}
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2596913
To unsubscribe from this discussion, e-mail: [[email protected]].