public static class ValidationResult.ValidationError extends Object
Constructor and Description |
---|
ValidationError(String errorCode)
Create a validation error with the given error code
|
ValidationError(String errorCode,
String details)
Create a validation error with the given error code and the error explanation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDetails() |
String |
getErrorCode() |
int |
hashCode() |
boolean |
isWarning() |
void |
setDetails(String details)
Set the error explanation
|
void |
setWarning(boolean isWarning) |
public ValidationError(String errorCode)
errorCode
- public String getErrorCode()
public String getDetails()
public void setDetails(String details)
details
- public boolean isWarning()
public void setWarning(boolean isWarning)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.