|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.pluginapi.configuration.ValidationError
public class ValidationError
Encapsulates a configuration error that was caused by an invalid configuration value.
Constructor Summary | |
---|---|
ValidationError(String propertyName,
String invalidValue,
org.rhq.core.util.exception.ExceptionPackage error)
|
|
ValidationError(String propertyName,
String invalidValue,
String errorMessage)
|
Method Summary | |
---|---|
org.rhq.core.util.exception.ExceptionPackage |
getError()
The error that indicates how or why the value was invalid. |
String |
getInvalidValue()
The value that did not pass the validation tests. |
String |
getPropertyName()
Returns the name of the property whose value did not pass the validation tests. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidationError(String propertyName, String invalidValue, org.rhq.core.util.exception.ExceptionPackage error)
public ValidationError(String propertyName, String invalidValue, String errorMessage)
Method Detail |
---|
public String getPropertyName()
public String getInvalidValue()
public org.rhq.core.util.exception.ExceptionPackage getError()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |