Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 460BD200C63 for ; Wed, 5 Apr 2017 21:10:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4328C160B9E; Wed, 5 Apr 2017 19:10:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 53304160BAF for ; Wed, 5 Apr 2017 21:10:29 +0200 (CEST) Received: (qmail 45075 invoked by uid 500); 5 Apr 2017 19:10: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 44054 invoked by uid 99); 5 Apr 2017 19:10:27 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2017 19:10:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A39D8F219F; Wed, 5 Apr 2017 19:10:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: scnakandala@apache.org To: commits@airavata.apache.org Date: Wed, 05 Apr 2017 19:10:45 -0000 Message-Id: <4b8377e762f443d18cafafc7e2d55f35@git.apache.org> In-Reply-To: <8c609dff9b324f1eb6fa771a9b0c5388@git.apache.org> References: <8c609dff9b324f1eb6fa771a9b0c5388@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [21/50] [abbrv] airavata git commit: Add new DuplicateEntryException datamodel archived-at: Wed, 05 Apr 2017 19:10:30 -0000 Add new DuplicateEntryException datamodel Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/66afcef6 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/66afcef6 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/66afcef6 Branch: refs/heads/develop Commit: 66afcef6bc24f6a43b5d4e2f6f4c08492e80054d Parents: 41b61cf Author: Gourav Shenoy Authored: Tue Apr 4 14:49:24 2017 -0400 Committer: Gourav Shenoy Committed: Tue Apr 4 14:49:24 2017 -0400 ---------------------------------------------------------------------- .../airavata-apis/airavata_errors.thrift | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/66afcef6/thrift-interface-descriptions/airavata-apis/airavata_errors.thrift ---------------------------------------------------------------------- diff --git a/thrift-interface-descriptions/airavata-apis/airavata_errors.thrift b/thrift-interface-descriptions/airavata-apis/airavata_errors.thrift index c8e4999..d63aee0 100644 --- a/thrift-interface-descriptions/airavata-apis/airavata_errors.thrift +++ b/thrift-interface-descriptions/airavata-apis/airavata_errors.thrift @@ -118,6 +118,15 @@ exception AuthorizationException { 1: required string message } +/** +* This exception is thrown when you try to save a duplicate entity that already exists +* in the database. +* +* message: contains the associated error message +**/ +exception DuplicateEntryException { + 1: required string message +} /** * This exception is thrown by Airavata Services when a call fails as a result of