javax.management.openmbean
Class KeyAlreadyExistsException

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.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

Constructor Summary
KeyAlreadyExistsException()
          Constructs a new KeyAlreadyExistsException.
KeyAlreadyExistsException(String message)
          Constructs a new KeyAlreadyExistsException 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

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.