Skip to content

Commit

Permalink
fix(jmcagent): widen exception subclass visiblity (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Matsuoka committed Apr 19, 2024
1 parent 4f2c27f commit c2b7a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/cryostat/core/agent/AgentJMXHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ public void defineEventProbes(String xmlDescription) throws ProbeDefinitionExcep
@Override
protected final void finalize() {}

static class ProbeDefinitionException extends Exception {
public static class ProbeDefinitionException extends Exception {
ProbeDefinitionException(String message, Throwable e) {
super(message, e);
}
}

static class MBeanRetrieveException extends Exception {
public static class MBeanRetrieveException extends Exception {
MBeanRetrieveException(Throwable e) {
super(e);
}
Expand Down

0 comments on commit c2b7a9d

Please sign in to comment.