javax.management.openmbean
Class InvalidKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.