Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 191FFF22F for ; Mon, 13 May 2013 21:09:28 +0000 (UTC) Received: (qmail 80138 invoked by uid 500); 13 May 2013 20:09:28 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 80096 invoked by uid 500); 13 May 2013 20:09:28 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 80088 invoked by uid 99); 13 May 2013 20:09:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 20:09:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 20:09:26 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D03CC23888FD; Mon, 13 May 2013 20:09:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@airavata.apache.org From: samindaw@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130513200905.D03CC23888FD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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) {