airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1482072 - /airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/AiravataAPIInvocationException.java
Date Mon, 13 May 2013 20:09:05 GMT
Author: samindaw
Date: Mon May 13 20:09:05 2013
New Revision: 1482072

URL: http://svn.apache.org/r1482072
Log:
Let the API invocation error message be the original error message of the exception

Modified:
    airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/AiravataAPIInvocationException.java

Modified: airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/AiravataAPIInvocationException.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/AiravataAPIInvocationException.java?rev=1482072&r1=1482071&r2=1482072&view=diff
==============================================================================
--- airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/AiravataAPIInvocationException.java
(original)
+++ airavata/trunk/modules/airavata-client/src/main/java/org/apache/airavata/client/api/AiravataAPIInvocationException.java
Mon May 13 20:09:05 2013
@@ -30,7 +30,7 @@ public class AiravataAPIInvocationExcept
 	private static final long serialVersionUID = 1L;
 
 	public AiravataAPIInvocationException(Throwable e) {
-		super("Error invoking API", e);
+		super(e.getLocalizedMessage(), e);
 		log.error(e.getLocalizedMessage(),e);
 	}
 	public AiravataAPIInvocationException(String message) {



Mime
View raw message