Package com.norconex.commons.lang.xml
Class XmlValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.norconex.commons.lang.xml.XmlValidationException
- All Implemented Interfaces:
Serializable
Runtime exception for configuration related issues.
- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXmlValidationException(List<XmlValidationError> errors) Constructor.XmlValidationException(List<XmlValidationError> errors, Xml xml) Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XmlValidationException
Constructor.- Parameters:
errors- configuration errors (e.g. schema validation errors)
-
XmlValidationException
Constructor.- Parameters:
errors- configuration errors (e.g. schema validation errors)xml- the XML containing validation errors
-
-
Method Details
-
getErrors
-
getXml
-