Updated Branches:
  refs/heads/master e0fa773c8 -> c8f143e3a

bug CLOUDSTACK-2445: removed vm id from exception message


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

Branch: refs/heads/master
Commit: c8f143e3a74258c730fd25af5512513c5d972650
Parents: e0fa773c
Author: Abhinandan Prateek <aprat...@apache.org>
Authored: Tue Jun 4 16:11:40 2013 +0530
Committer: Abhinandan Prateek <aprat...@apache.org>
Committed: Tue Jun 4 16:11:40 2013 +0530

----------------------------------------------------------------------
 .../network/lb/LoadBalancingRulesManagerImpl.java  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c8f143e3/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 
b/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
index 633357e..21e2887 100755
--- a/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
+++ b/server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
@@ -973,8 +973,8 @@ public class LoadBalancingRulesManagerImpl<Type> extends 
ManagerBase implements
             }
 
             if (nicInSameNetwork == null) {
-                InvalidParameterValueException ex = new 
InvalidParameterValueException("VM " + instanceId
-                        + " cannot be added because it doesn't belong in the 
same network.");
+                InvalidParameterValueException ex =
+                        new InvalidParameterValueException("VM with id 
specified cannot be added because it doesn't belong in the same network.");
                 ex.addProxyObject(vm.getUuid(), "instanceId");
                 throw ex;
             }

Reply via email to