A UserError is-a Diagnostic for user-defined errors via fn:error()
.
More...
#include <zorba/error.h>
Public Member Functions | |
diagnostic::category | category () const |
UserError & | operator= (UserError const &from) |
Assigns this UserError from another. | |
diagnostic::QName const & | qname () const |
UserError (UserError const &from) | |
Copy-constructs a UserError. | |
~UserError () | |
Destroys this UserError. | |
Protected Member Functions | |
Diagnostic const * | clone () const |
Friends | |
UserError | make_user_error (char const *, char const *, char const *) |
void | serialization::operator& (serialization::Archiver &, const Diagnostic *&) |
class | UserException |
A UserError is-a Diagnostic for user-defined errors via fn:error()
.
zorba::UserError::UserError | ( | UserError const & | from | ) |
Copy-constructs a UserError.
from | The UserError to copy from. |
Destroys this UserError.
diagnostic::category zorba::UserError::category | ( | ) | const |
Diagnostic const* zorba::UserError::clone | ( | ) | const [protected] |
Assigns this UserError from another.
from | The UserError to assign from. |
*this
. diagnostic::QName const& zorba::UserError::qname | ( | ) | const |
UserError make_user_error | ( | char const * | , |
char const * | , | ||
char const * | |||
) | [friend] |
void serialization::operator& | ( | serialization::Archiver & | , |
const Diagnostic *& | |||
) | [friend] |
friend class UserException [friend] |