XMLDOMError
classin packageklyn.io.xml.dom
public class XMLDOMError extends Object implements DOMError
└ 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
attributeInherited 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
propertyInherited Properties from Object: 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
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml