Package com.norconex.commons.lang.xml
Class XMLValidationError
- java.lang.Object
-
- com.norconex.commons.lang.xml.XMLValidationError
-
- All Implemented Interfaces:
Serializable
public class XMLValidationError extends Object implements Serializable
A configuration error resulting from validation. A configuration error may or may not prevent some parts of a configuration to be loaded. The severity is only used as indicator.- Since:
- 2.0.0
- Author:
- Pascal Essiembre
- See Also:
XML.validate(Class), Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXMLValidationError.Severity
-
Constructor Summary
Constructors Constructor Description XMLValidationError(XMLValidationError.Severity severity, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetMessage()XMLValidationError.SeveritygetSeverity()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
XMLValidationError
public XMLValidationError(XMLValidationError.Severity severity, String message)
-
-
Method Detail
-
getSeverity
public XMLValidationError.Severity getSeverity()
-
getMessage
public String getMessage()
-
-