svn commit: r12658 - trunk/src_new/org/argouml/uml/diagram/UMLMutableGraphSupport.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2007-05-25 10:41:37-0700
New Revision: 12658

Modified:
   trunk/src_new/org/argouml/uml/diagram/UMLMutableGraphSupport.java

Log:
Log illegal argument exceptions

Modified: trunk/src_new/org/argouml/uml/diagram/UMLMutableGraphSupport.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/UMLMutableGraphSupport.java?view=diff&rev=12658&p1=trunk/src_new/org/argouml/uml/diagram/UMLMutableGraphSupport.java&p2=trunk/src_new/org/argouml/uml/diagram/UMLMutableGraphSupport.java&r1=12657&r2=12658
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/UMLMutableGraphSupport.java	(original)
+++ trunk/src_new/org/argouml/uml/diagram/UMLMutableGraphSupport.java	2007-05-25 10:41:37-0700
@@ -452,6 +452,10 @@
             } catch (IllegalArgumentException iae) {
                 // idem, e.g. for a generalization with leaf/root object
                 // TODO: but showing the message in the statusbar would help
+        	// TODO: IllegalArgumentException should not be used for
+        	// events we expect to happen. We need a different way of
+        	// catching well-formedness rules.
+        	LOG.warn("IllegalArgumentException caught", iae);
             }
         }
         return connection;
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.