public class ValidationError extends Object
| Constructor and Description |
|---|
ValidationError(String propertyName,
String invalidValue,
org.rhq.core.util.exception.ExceptionPackage error) |
ValidationError(String propertyName,
String invalidValue,
String errorMessage) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public ValidationError(String propertyName, String invalidValue, org.rhq.core.util.exception.ExceptionPackage error)
public String getPropertyName()
public String getInvalidValue()
public org.rhq.core.util.exception.ExceptionPackage getError()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.