Author: tfmorris
Date: 2008-04-29 15:43:59-0700
New Revision: 14517

Modified:
   
trunk/src/argouml-app/src/org/argouml/persistence/TodoListMemberFilePersister.java

Log:
Don't re-wrap exception if it's what we'd throw anyway

Modified: 
trunk/src/argouml-app/src/org/argouml/persistence/TodoListMemberFilePersister.java
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/persistence/TodoListMemberFilePersister.java?view=diff&rev=14517&p1=trunk/src/argouml-app/src/org/argouml/persistence/TodoListMemberFilePersister.java&p2=trunk/src/argouml-app/src/org/argouml/persistence/TodoListMemberFilePersister.java&r1=14516&r2=14517
==============================================================================
--- 
trunk/src/argouml-app/src/org/argouml/persistence/TodoListMemberFilePersister.java
  (original)
+++ 
trunk/src/argouml-app/src/org/argouml/persistence/TodoListMemberFilePersister.java
  2008-04-29 15:43:59-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 1996-2006 The Regents of the University of California. All
+// Copyright (c) 1996-2008 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -72,6 +72,9 @@
             ProjectMemberTodoList pm = new ProjectMemberTodoList("", project);
             project.addMember(pm);
         } catch (Exception e) {
+            if (e instanceof OpenException) {
+                throw (OpenException) e;
+            }
             throw new OpenException(e);
         }
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to