XMLErrorMessages

private class
system.xml.XMLErrorMessages

Description

Helper class for working with XML error messages.

API overview

Constructor

XMLErrorMessages ()

Functions

Public functions

buildErrorMessage ( error: XMLError , document: XMLDocument ): String static

Return a nice error message given an error code and the document that generated it

lookup ( error: XMLError ): String static

Convert an XMLError to an English string

Constructor

XMLErrorMessages ()

Functions

buildErrorMessage ( error: XMLError , document: XMLDocument ): String

static

Return a nice error message given an error code and the document that generated it.

Parameters

error: XMLError
document: XMLDocument


getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

lookup ( error: XMLError ): String

static

Convert an XMLError to an English string.

See also:
buildErrorMessage for more complete functionality.

Parameters

error: XMLError


toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: