zorba::internal::SystemDiagnostic

#include <zorba/internal/system_diagnostic.h>

Inherited from: zorba::internal::SystemDiagnosticBase

Private Attributes

QNameType

qname_

Public Functions

zorba::diagnostic::kind

kind() const

Gets the kind of this diagnostic.

char const *

message() const

Gets the message of this diagnostic.

zorba::diagnostic::QName const &

qname() const

Gets the QName for this diagnostic.

SystemDiagnostic(char const *localname)

Constructs a SystemDiagnostic.

Protected Functions

Diagnostic const *

clone() const

void

destroy() const

Destroys a Diagnostic.

Public Static Functions

Diagnostic const *

find(char const *localname)

Given a diagnostic's local-name, finds its corresponding Diagnostic object.

Friend Classes

friend class

ZorbaException

Private Attributes

qname_

QNameType qname_

Public Functions

kind

Gets the kind of this diagnostic.

Returns

Returns said kind.

message

char const * message() const

Gets the message of this diagnostic.

Returns

Returns said message.

qname

zorba::diagnostic::QName const & qname() const

Gets the QName for this diagnostic.

Returns

Returns said QName.

SystemDiagnostic

 SystemDiagnostic(char const *localname)

Constructs a SystemDiagnostic.

Parameters

localname The local-name of the diagnostic.

Protected Functions

clone

Diagnostic const * clone() const

destroy

void destroy() const

Destroys a Diagnostic.

This is the only way a Diagnostic should be destroyed.

Public Static Functions

find

Diagnostic const * find(char const *localname)

Given a diagnostic's local-name, finds its corresponding Diagnostic object.

Parameters

localname The local-name.

Returns

Returns the corresponding Diagnostic object or NULL if not found.

Friend Classes

ZorbaException

friend class ZorbaException