#include <DomError.h>
Public Types | |
| enum | Severity { Warning = 1, Error = 2, FatalError = 3 } |
| An enum indicating the severity of the error. More... | |
Public Member Functions | |
| DomError () | |
| ctor | |
| DomError (const DomError ©) | |
| copy ctor | |
| virtual | ~DomError () |
| dtor | |
| const DomError & | operator= (const DomError &assign) |
| assign | |
| Severity | getSeverity () const |
| The severity of the error, either Warning, Error, or FatalError. | |
| DomString | getMessage () const |
| An implementation specific string describing the error that occurred. | |
| DomLocator | getLocation () const |
| The location of the error. | |
An enum indicating the severity of the error.
| Warning |
The severity of the error described by the DomError is warning.
A Warning will not cause the processing to stop, unless DomErrorHandler::handleError() returns false. |
| Error |
The severity of the error described by the DomError is error.
A Error may not cause the processing to stop if the error can be recovered, unless DomErrorHandler::handleError() returns false. |
| FatalError |
The severity of the error described by the DomError is fatal error.
A FatalError will cause the normal processing to stop. The return value of DomErrorHandler::handleError() is ignored unless the implementation chooses to continue, in which case the behavior becomes undefined. |
| xmldom::DomError::DomError | ( | ) |
ctor
| xmldom::DomError::DomError | ( | const DomError & | copy | ) |
copy ctor
| xmldom::DomError::~DomError | ( | ) | [virtual] |
dtor
| DomError::Severity xmldom::DomError::getSeverity | ( | ) | const |
The severity of the error, either Warning, Error, or FatalError.
| DomString xmldom::DomError::getMessage | ( | ) | const |
An implementation specific string describing the error that occurred.
| DomLocator xmldom::DomError::getLocation | ( | ) | const |
The location of the error.
1.5.2