tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r663294 - /incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
Date Wed, 04 Jun 2008 16:25:19 GMT
Author: nash
Date: Wed Jun  4 09:25:19 2008
New Revision: 663294

URL: http://svn.apache.org/viewvc?rev=663294&view=rev
Log:
Fix ClassCastException when exception thrown

Modified:
    incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java

Modified: incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java?rev=663294&r1=663293&r2=663294&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
(original)
+++ incubator/tuscany/java/sca/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
Wed Jun  4 09:25:19 2008
@@ -298,7 +298,7 @@
                 }
             });
         } catch (PrivilegedActionException e) {
-            throw (ServiceRuntimeException)e.getException();
+            throw new ServiceRuntimeException(e.getException());
         }
     }
 



Mime
View raw message