You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by oc...@apache.org on 2011/10/24 06:26:49 UTC

svn commit: r1188028 - /incubator/npanday/trunk/components/dotnet-dao-project/src/main/java/npanday/dao/impl/ProjectDaoImpl.java

Author: oching
Date: Mon Oct 24 06:26:49 2011
New Revision: 1188028

URL: http://svn.apache.org/viewvc?rev=1188028&view=rev
Log:
make it compatible with 1.5. it should be alright not to wrap the exception obj since the caught exception is just created from the wrapped method in the same class

Modified:
    incubator/npanday/trunk/components/dotnet-dao-project/src/main/java/npanday/dao/impl/ProjectDaoImpl.java

Modified: incubator/npanday/trunk/components/dotnet-dao-project/src/main/java/npanday/dao/impl/ProjectDaoImpl.java
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-dao-project/src/main/java/npanday/dao/impl/ProjectDaoImpl.java?rev=1188028&r1=1188027&r2=1188028&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-dao-project/src/main/java/npanday/dao/impl/ProjectDaoImpl.java (original)
+++ incubator/npanday/trunk/components/dotnet-dao-project/src/main/java/npanday/dao/impl/ProjectDaoImpl.java Mon Oct 24 06:26:49 2011
@@ -1053,7 +1053,7 @@ public final class ProjectDaoImpl
         }
         catch ( Exception e )
         {
-            throw new IOException( e.getMessage(), e );
+            throw new IOException( e.getMessage() );
         }
 
         String interopAbsolutePath = tmpDir.getAbsolutePath() + File.separator + "Interop." + name + ".dll";
@@ -1065,7 +1065,7 @@ public final class ProjectDaoImpl
         }
         catch ( Exception e )
         {
-            throw new IOException( e.getMessage(), e );
+            throw new IOException( e.getMessage() );
         }
 
         return interopAbsolutePath;