Skip to content

Commit

Permalink
feat(#1716): move suppresss messages
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Feb 2, 2023
1 parent 282f4ad commit c318ca7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,14 @@ public Input get(final String name) throws IOException {
return this.delegate.get(name);
}

// @checkstyle IllegalCatchCheck (6 line)
@SuppressWarnings("PMD.AvoidCatchingGenericException")
@Override
public boolean contains(final String name) throws IOException {
boolean result;
try {
result = this.index.contains(name);
// @checkstyle IllegalCatchCheck (1 line)
} catch (@SuppressWarnings("PMD.AvoidCatchingGenericException") final Exception ex) {
} catch (final Exception ex) {
Logger.warn(
this,
"Failed to check object %s in objectionary index: %[exception]s",
Expand Down

0 comments on commit c318ca7

Please sign in to comment.