flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [4/4] git commit: [flex-sdk] [refs/heads/develop] - attempt to show better error when problem with services-config.xml
Date Wed, 05 Jun 2013 21:15:39 GMT
attempt to show better error when problem with services-config.xml


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/8738f48c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/8738f48c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/8738f48c

Branch: refs/heads/develop
Commit: 8738f48c83bbc2a1f434ad7fd8ed31e6a5951002
Parents: 35f7a29
Author: Alex Harui <aharui@apache.org>
Authored: Wed Jun 5 13:31:06 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Jun 5 13:31:06 2013 -0700

----------------------------------------------------------------------
 .../config/ServicesDependenciesWrapper.java        |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/8738f48c/modules/compiler/src/java/flex2/compiler/config/ServicesDependenciesWrapper.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/compiler/config/ServicesDependenciesWrapper.java
b/modules/compiler/src/java/flex2/compiler/config/ServicesDependenciesWrapper.java
index 720de92..15d85d1 100644
--- a/modules/compiler/src/java/flex2/compiler/config/ServicesDependenciesWrapper.java
+++ b/modules/compiler/src/java/flex2/compiler/config/ServicesDependenciesWrapper.java
@@ -69,7 +69,10 @@ public class ServicesDependenciesWrapper
             }
             catch (Throwable e3)
             {
-            	System.err.println(e3);
+            	if (e3 instanceof InvocationTargetException)
+            		System.err.println(((InvocationTargetException)e3).getCause());
+            	else
+            		System.err.println(e3);
             }
         }
         catch (NoSuchMethodException e2)


Mime
View raw message