Class ValidationError
java.lang.Object
com.floragunn.codova.validation.errors.ValidationError
- All Implemented Interfaces:
Document<ValidationError>
- Direct Known Subclasses:
DocumentParseException.DocParseError,FileDoesNotExist,InvalidAttributeValue,InvalidExpression,JsonValidationError,MissingAttribute,UnsupportedAttribute
-
Constructor Summary
ConstructorsConstructorDescriptionValidationError(String attribute, String message) ValidationError(String attribute, String message, Object jsonNode) -
Method Summary
Modifier and TypeMethodDescriptionprotected ValidationErrorclone()getCause()static ValidationErrorstatic List<ValidationError>parseArray(String attribute, DocNode docNode) voidsetAttribute(String attribute) toString()Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.floragunn.codova.documents.Document
meta, toBytes, toDeepBasicObject, toDocNode, toJsonString, toPrettyJsonString, toSmile, toString, toYamlString
-
Constructor Details
-
ValidationError
-
ValidationError
-
-
Method Details
-
getAttribute
-
getMessage
-
message
-
cause
-
expected
-
getCause
-
toBasicObject
- Specified by:
toBasicObjectin interfaceDocument<ValidationError>
-
setAttribute
-
toString
-
toValidationErrorsOverviewString
-
parseArray
-
parse
-
getDocNode
-
docNode
-
clone
-
getExpected
-
getExpectedAsString
-