JcloudsLocation: incorporate review comments

- remove duplication in two exception blocks