Package com.floragunn.codova.validation
Class ConfigValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.floragunn.codova.validation.ConfigValidationException
-
- All Implemented Interfaces:
Document<ConfigValidationException>,Serializable
- Direct Known Subclasses:
DocumentParseException,UnexpectedDocumentStructureException
public class ConfigValidationException extends Exception implements Document<ConfigValidationException>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigValidationException(ValidationError validationError)ConfigValidationException(ValidationErrors validationErrors)ConfigValidationException(com.google.common.collect.Multimap<String,ValidationError> validationErrors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationErrorsgetValidationErrors()ObjecttoBasicObject()StringtoDebugString()Map<String,Object>toMap()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.floragunn.codova.documents.Document
meta, toBytes, toDeepBasicObject, toDocNode, toJsonString, toPrettyJsonString, toSmile, toString, toYamlString
-
-
-
-
Constructor Detail
-
ConfigValidationException
public ConfigValidationException(ValidationErrors validationErrors)
-
ConfigValidationException
public ConfigValidationException(com.google.common.collect.Multimap<String,ValidationError> validationErrors)
-
ConfigValidationException
public ConfigValidationException(ValidationError validationError)
-
-
Method Detail
-
getValidationErrors
public ValidationErrors getValidationErrors()
-
toDebugString
public String toDebugString()
-
toBasicObject
public Object toBasicObject()
- Specified by:
toBasicObjectin interfaceDocument<ConfigValidationException>
-
-