javax.management.openmbean

Class InvalidKeyException

public class InvalidKeyException extends IllegalArgumentException

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

Since: 1.5

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

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.