A UserError is-a Diagnostic for user-defined errors via fn:error()
.
More...
#include <zorba/error.h>
List of all members.
Protected Member Functions |
Diagnostic const * | clone () const |
virtual void | destroy () const |
| Destroys a Diagnostic.
|
Detailed Description
A UserError is-a Diagnostic for user-defined errors via fn:error()
.
Definition at line 57 of file error.h.
Constructor & Destructor Documentation
zorba::UserError::UserError |
( |
UserError const & |
from | ) |
|
Copy-constructs a UserError.
- Parameters:
-
from | The UserError to copy from. |
zorba::UserError::~UserError |
( |
| ) |
|
Member Function Documentation
Gets the category of this diagnostic.
- Returns:
- Returns said category.
Reimplemented from zorba::Diagnostic.
Diagnostic const* zorba::UserError::clone |
( |
| ) |
const |
|
protectedvirtual |
virtual void zorba::Diagnostic::destroy |
( |
| ) |
const |
|
protectedvirtualinherited |
virtual char const* zorba::Diagnostic::message |
( |
| ) |
const |
|
virtualinherited |
Gets the message of this diagnostic.
- Returns:
- Returns said message.
Assigns this UserError from another.
- Parameters:
-
from | The UserError to assign from. |
- Returns:
- Returns
*this
.
Gets the QName for this diagnostic.
- Returns:
- Returns said QName.
Implements zorba::Diagnostic.
Friends And Related Function Documentation
UserError make_user_error |
( |
char const * |
, |
|
|
char const * |
, |
|
|
char const * |
|
|
) |
| |
|
friend |
void serialization::operator& |
( |
serialization::Archiver & |
, |
|
|
const Diagnostic *& |
|
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: