javax.management.openmbean

Class KeyAlreadyExistsException

public class KeyAlreadyExistsException extends IllegalArgumentException

Thrown when a key (a field name or row index) is passed to a method of the {@link CompositeData} or {@link TabularData} classes and it is found to already be in use.

Since: 1.5

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

Constructor Detail

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.