cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburwell <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8832 : Update Nuage VSP plugin...
Date Mon, 12 Oct 2015 22:02:42 GMT
Github user jburwell commented on a diff in the pull request:
    --- Diff: plugins/network-elements/nuage-vsp/src/com/cloud/network/resource/
    @@ -424,9 +449,10 @@ private Answer executeRequest(ApplyAclRuleVspCommand cmd) {
         private Answer executeRequest(ShutDownVpcVspCommand cmd) {
             try {
    -            _nuageVspElementClient.shutDownVpc(cmd.getDomainUuid(), cmd.getVpcUuid());
    +            _nuageVspElementClient.shutdownVpc(cmd.getDomainUuid(), cmd.getVpcUuid(),
                 return new ShutDownVpcVspAnswer(cmd, true, "Shutdown VPC " + cmd.getVpcUuid());
             } catch (Exception e) {
    --- End diff --
    Why are all unchecked and checked exceptions being caught?  It seems like we should only
be catching the expected checked exceptions, and allow unchecked exceptions simply bubble

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message