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 <[email protected]> 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 <[email protected]> Authored: Wed Mar 6 17:47:37 2013 +0530 Committer: Chip Childers <[email protected]> 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; }
