Skip to content

Commit

Permalink
Re-add catch for AttributeNotFoundException.
Browse files Browse the repository at this point in the history
This exception seems to got lost somewhere between 1.0.6 and 1.1.0. Fixes #158
  • Loading branch information
rhuss committed Sep 3, 2014
1 parent c0ba94f commit 9a7bbdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agent/core/src/main/java/org/jolokia/handler/ReadHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ private Object fetchAttributes(MBeanServerExecutor pServerManager, ObjectName pM
ret.put(attribute, pFaultHandler.handleException(e));
} catch (RuntimeException e) {
ret.put(attribute, pFaultHandler.handleException(e));
} catch (AttributeNotFoundException e) {
ret.put(attribute, pFaultHandler.handleException(e));
}
}
return ret;
Expand Down

0 comments on commit 9a7bbdd

Please sign in to comment.