javax.management.openmbean
Class KeyAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
javax.management.openmbean.KeyAlreadyExistsException
- All Implemented Interfaces:
- Serializable
public class KeyAlreadyExistsException
- extends IllegalArgumentException
Thrown when a key (a field name or row index) is passed to a method
of the CompositeData
or TabularData
classes and it
is found to already be in use.
- 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 |
KeyAlreadyExistsException
public KeyAlreadyExistsException()
- Constructs a new
KeyAlreadyExistsException
.
KeyAlreadyExistsException
public KeyAlreadyExistsException(String message)
- Constructs a new
KeyAlreadyExistsException
with the specified message.
- Parameters:
message
- the error message to give to the user.