boolean () { try { // work } catch(NumberFormatException e) { return true; } <warning descr="'catch' branch identical to 'NumberFormatException' branch">catch(RuntimeException e)</warning> { return true; } return false; }