javax.management.openmbean
Class InvalidKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by javax.management.openmbean.InvalidKeyException
All Implemented Interfaces:
Serializable

public class InvalidKeyException
extends IllegalArgumentException

Thrown when an invalid key (a field name or row index) is passed to a method of the CompositeData or TabularData classes.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
InvalidKeyException()
          Constructs a new InvalidKeyException.
InvalidKeyException(String message)
          Constructs a new InvalidKeyException with the specified message.
 
Method Summary
 
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

InvalidKeyException

public InvalidKeyException()
Constructs a new InvalidKeyException.


InvalidKeyException

public InvalidKeyException(String message)
Constructs a new InvalidKeyException with the specified message.

Parameters:
message - the error message to give to the user.