Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

javax.management
Class InstanceNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.management.JMException
              extended by javax.management.OperationsException
                  extended by javax.management.InstanceNotFoundException
All Implemented Interfaces:
Serializable

public class InstanceNotFoundException
extends OperationsException

The specified MBean does not exist in the repository.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
Constructor and Description
InstanceNotFoundException()
          Default constructor.
InstanceNotFoundException(ObjectName name)
          Constructor for the frequent case where the message is the ObjectName of the missing MBean.
InstanceNotFoundException(String message)
          Constructor that allows a specific error message to be specified.
 
Method Summary
Modifier and Type Method and Description
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceNotFoundException

public InstanceNotFoundException()
Default constructor.


InstanceNotFoundException

public InstanceNotFoundException(String message)
Constructor that allows a specific error message to be specified.

Parameters:
message - the detail message.

InstanceNotFoundException

public InstanceNotFoundException(ObjectName name)
Constructor for the frequent case where the message is the ObjectName of the missing MBean.

Parameters:
name - the ObjectName of the missing MBean.
Since:
1.7

Java™ Platform
Standard Ed. 7

DRAFT ea-b76

Submit a bug or feature

Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.