svn commit: r12691 - trunk/src_new/org/argouml/uml/reveng/java/OuterClassifierContext.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-05-27 14:38:54-0700
New Revision: 12691

Modified:
   trunk/src_new/org/argouml/uml/reveng/java/OuterClassifierContext.java

Log:
Don't log warnings on a simple lookup failure

Modified: trunk/src_new/org/argouml/uml/reveng/java/OuterClassifierContext.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/reveng/java/OuterClassifierContext.java?view=diff&rev=12691&p1=trunk/src_new/org/argouml/uml/reveng/java/OuterClassifierContext.java&p2=trunk/src_new/org/argouml/uml/reveng/java/OuterClassifierContext.java&r1=12690&r2=12691
==============================================================================
--- trunk/src_new/org/argouml/uml/reveng/java/OuterClassifierContext.java	(original)
+++ trunk/src_new/org/argouml/uml/reveng/java/OuterClassifierContext.java	2007-05-27 14:38:54-0700
@@ -217,7 +217,9 @@
                     // TODO: This too broad an exception catch to just continue
                     // with - narrow to specific expected errors that can be
                     // ignored - tfm
-                    LOG.warn(e1);
+                    if (!(e1 instanceof ClassNotFoundException)) {
+                        LOG.warn(e1);
+                    }
                     
                     // Continue the search through the rest of the model
                     if (getContext() != null) {
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.