public static class ValidationResult.SimpleValidationResult extends Object implements ValidationResult
ValidationResult.SimpleValidationResult| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage()
Returns the result message.
|
boolean |
isError()
Checks if the result denotes an error.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiterror, okpublic String getErrorMessage()
ValidationResult
Throws an IllegalStateException if the result represents success.
getErrorMessage in interface ValidationResultpublic boolean isError()
ValidationResultisError in interface ValidationResulttrue if the result denotes an error,
false otherwiseCopyright © 2017 Vaadin Ltd. All rights reserved.