public class NameAlreadyUsedException extends Exception
CreateCapability.addBean(java.lang.String, java.lang.String[], java.lang.Object[], java.lang.String)
method.Constructor and Description |
---|
NameAlreadyUsedException(String beanName,
String keyProperty,
String keyValue)
Constructor NameAlreadyUsedException
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the localized message
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NameAlreadyUsedException(String beanName, String keyProperty, String keyValue)
beanName
- name of the DD element (CommonDDBean object)keyProperty
- name of the property that should be uniquekeyValue
- value of the keyProperty that causes the duplicitypublic String getMessage()
getMessage
in class Throwable