elharo commented on code in PR #89: URL: https://github.com/apache/maven-dependency-analyzer/pull/89#discussion_r1233258151
########## src/main/java/org/apache/maven/shared/dependency/analyzer/asm/DependencyClassFileVisitor.java: ########## @@ -71,7 +71,7 @@ public void visitClass(String className, InputStream in) { reader.accept(classVisitor, 0); } catch (IOException exception) { exception.printStackTrace(); - } catch (IndexOutOfBoundsException e) { + } catch (IndexOutOfBoundsException | IllegalArgumentException e) { Review Comment: The comment below doesn't apply to the new exception. It's probably better to make this a spearate catch block with a more descriptive error message. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org