JDK-6669137 : RFE: InstanceNotFoundException should have a constructor that takes an ObjectName
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-02-28
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b37Fixed
Related Reports
Relates :  
Description
It's a bit strange that we always have to do:

throw new InstanceNotFoundException(String.valueOf(mbeanName));

Comments
EVALUATION Useful, and trivially simple. With the advent of namespaces in JMX API 2.0, people will more often be implementing the MBeanServer interface and therefore constructing InstanceNotFoundException instances where appropriate.
29-02-2008