XMLDOMError
class in package klyn.io.xml.dom

    public class XMLDOMError extends Object implements DOMError:

Object
└ XMLDOMError
All Implemented Interfaces: DOMError

DOM processing error value.

Example

    import klyn.io.xml.dom

    error = XMLDOMError(DOMError.SEVERITY_ERROR, "Invalid node")
    print(error.message)

Inherited Attributes
attribute Inherited Attributes from DOMError: SEVERITY_ERROR, SEVERITY_FATAL_ERROR, SEVERITY_WARNING
Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | location `location as DOMLocator:` | No summary.
public readonly property | message `message as String:` | No summary.
public readonly property | relatedData `relatedData as Object:` | No summary.
public readonly property | relatedException `relatedException as Object:` | No summary.
public readonly property | severity `severity as Int:` | No summary.
public readonly property | type `type as String:` | No summary.

Inherited Properties
property Inherited Properties from Object: type
property Inherited Properties from DOMError: location, message, relatedData, relatedException, severity, type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | XMLDOMError `XMLDOMError(severity as Int = DOMError.SEVERITY_ERROR, message as String = "", type as String = "", relatedException as Object = null, relatedData as Object = null, location as DOMLocator = null):` | Creates an error value.

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml