public static class ValidationResult.SimpleValidationResult extends Object implements ValidationResult
ValidationResult.SimpleValidationResult| Modifier and Type | Method and Description |
|---|---|
Optional<ErrorLevel> |
getErrorLevel()
Returns optional error level for this validation result.
|
String |
getErrorMessage()
Returns the result message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, error, isError, okpublic String getErrorMessage()
ValidationResult
Throws an IllegalStateException if the result represents success.
getErrorMessage in interface ValidationResultpublic Optional<ErrorLevel> getErrorLevel()
ValidationResult
Note: By default ErrorLevel.INFO and
ErrorLevel.WARNING are not considered to be blocking the
validation and conversion chain.
getErrorLevel in interface ValidationResultValidationResult.isError()Copyright © 2025. All rights reserved.