fix PMD warnings

ramping up a custom PMD ruleset, these three pieces fell out. The UnusedPrivateField is an artifact of the way the LogHolder works (this seems to be a PMD bug), the other two are a PrematureDeclaration and an AvoidRethrowingException.