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
See Also:
  - `Xml.validate(Class)`
  - Serialized Form

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `XmlValidationError.Severity`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `XmlValidationError(XmlValidationError.Severity severity, String message)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `String`
  `getMessage()`
  `XmlValidationError.Severity`
  `getSeverity()`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### XmlValidationError

    public XmlValidationError(XmlValidationError.Severity severity, String message)

- ## Method Details

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### canEqual

    protected boolean canEqual(Object other)

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getSeverity

    public XmlValidationError.Severity getSeverity()

  - ### getMessage

    public String getMessage()