diff --git a/server/src/com/cloud/network/rules/RulesManagerImpl.java b/server/src/com/cloud/network/rules/RulesManagerImpl.java index 37cae90eb9c..2383366850c 100755 --- a/server/src/com/cloud/network/rules/RulesManagerImpl.java +++ b/server/src/com/cloud/network/rules/RulesManagerImpl.java @@ -255,11 +255,11 @@ public class RulesManagerImpl implements RulesManager, RulesService, Manager { if (validatePortRange) { //source start port and source dest port should be the same. The same applies to dest ports if (rule.getSourcePortStart().intValue() != rule.getDestinationPortStart()) { - throw new InvalidParameterValueException("Private port start should be equal to public port start", null); + throw new InvalidParameterValueException("Private port start should be equal to public port start"); } if (rule.getSourcePortEnd().intValue() != rule.getDestinationPortEnd()) { - throw new InvalidParameterValueException("Private port end should be equal to public port end", null); + throw new InvalidParameterValueException("Private port end should be equal to public port end"); } }