airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [21/50] [abbrv] airavata git commit: Add new DuplicateEntryException datamodel
Date Wed, 05 Apr 2017 19:10:45 GMT
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 <shenoy.200@gmail.com>
Authored: Tue Apr 4 14:49:24 2017 -0400
Committer: Gourav Shenoy <shenoy.200@gmail.com>
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


Mime
View raw message