cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject git commit: refs/heads/4.1 - CLOUDSTACK-1417: cosmetics, print param name, value for uuid->id translate error
Date Wed, 06 Mar 2013 15:59:14 GMT
Updated Branches:
  refs/heads/4.1 aba3585d9 -> 525d391d6


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/525d391d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/525d391d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/525d391d

Branch: refs/heads/4.1
Commit: 525d391d65070097c31ba195da95d137e8b6e46c
Parents: aba3585
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Mar 6 17:47:37 2013 +0530
Committer: Chip Childers <chip.childers@gmail.com>
Committed: Wed Mar 6 10:48:46 2013 -0500

----------------------------------------------------------------------
 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/525d391d/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