incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: refs/heads/master - CLOUDSTACK-1417: cosmetics, print param name, value for uuid->id translate error
Date Wed, 06 Mar 2013 12:26:18 GMT
Updated Branches:
  refs/heads/master cc9b7d4c2 -> 15b5b7e7a


CLOUDSTACK-1417: cosmetics, print param name, value for uuid->id translate error

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/15b5b7e7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/15b5b7e7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/15b5b7e7

Branch: refs/heads/master
Commit: 15b5b7e7a3c1cf00cffc9a15a22b405db96e9748
Parents: cc9b7d4
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Mar 6 17:47:37 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Wed Mar 6 17:55:40 2013 +0530

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiDispatcher.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/15b5b7e7/server/src/com/cloud/api/ApiDispatcher.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiDispatcher.java b/server/src/com/cloud/api/ApiDispatcher.java
index 552dea5..764b3ae 100755
--- a/server/src/com/cloud/api/ApiDispatcher.java
+++ b/server/src/com/cloud/api/ApiDispatcher.java
@@ -372,8 +372,8 @@ public class ApiDispatcher {
         if (internalId == null) {
             if (s_logger.isDebugEnabled())
                 s_logger.debug("Object entity uuid = " + uuid + " does not exist in the database.");
-            throw new InvalidParameterValueException("Invalid parameter value=" + uuid
-                + " due to incorrect long value format, or entity was not found as it may
have been deleted, or due to incorrect parameter annotation for the field in api cmd.");
+            throw new InvalidParameterValueException("Invalid parameter " + annotation.name()
+ " value=" + uuid
+                + " due to incorrect long value format, or entity does not exist or due to
incorrect parameter annotation for the field in api cmd class.");
         }
         return internalId;
     }


Mime
View raw message