jdk/src/share/classes/javax/management/InstanceNotFoundException.java
changeset 1156 bbc2d15aaf7a
parent 2 90ce3da70b43
child 1227 4546977d0d66
equal deleted inserted replaced
1155:a9a142fcf1b5 1156:bbc2d15aaf7a
    49      * @param message the detail message.
    49      * @param message the detail message.
    50      */
    50      */
    51     public InstanceNotFoundException(String message) {
    51     public InstanceNotFoundException(String message) {
    52         super(message);
    52         super(message);
    53     }
    53     }
       
    54 
       
    55     /**
       
    56      * Constructor for the frequent case where the message is the ObjectName
       
    57      * of the missing MBean.
       
    58      *
       
    59      * @param name the ObjectName of the missing MBean.
       
    60      *
       
    61      * @since 1.7
       
    62      */
       
    63     public InstanceNotFoundException(ObjectName name) {
       
    64         this(name.toString());
       
    65     }
    54 }
    66 }