A ZorbaException is the base class for all Zorba exceptions.
More...
#include <zorba/zorba_exception.h>
List of all members.
Detailed Description
Member Typedef Documentation
Constructor & Destructor Documentation
Copy-constructs a ZorbaException.
- Parameters:
-
from | The ZorbaException to copy from. |
zorba::ZorbaException::~ZorbaException |
( |
| ) |
throw () |
Destroys this ZorbaException.
zorba::ZorbaException::ZorbaException |
( |
Diagnostic const & |
diagnostic, |
|
|
char const * |
raise_file, |
|
|
line_type |
raise_line, |
|
|
char const * |
message |
|
) |
| |
|
protected |
Constructs a ZorbaException.
- Parameters:
-
diagnostic | The diagnostic. |
raise_file | The C++ source-code file name whence the exception was raised. |
raise_line | The C++ source-code line number whence the exception was raised. |
message | The diagnostic message. |
zorba::ZorbaException::ZorbaException |
( |
serialization::Archiver & |
| ) |
|
|
protected |
Member Function Documentation
Diagnostic const& zorba::ZorbaException::diagnostic |
( |
| ) |
const throw () |
|
inline |
Assigns this ZorbaException from another.
- Parameters:
-
from | The ZorbaException to assign from. |
- Returns:
- Returns
*this
.
virtual void zorba::ZorbaException::polymorphic_throw |
( |
| ) |
const |
|
virtual |
virtual std::ostream& zorba::ZorbaException::print |
( |
std::ostream & |
o | ) |
const |
|
protectedvirtual |
char const* zorba::ZorbaException::raise_file |
( |
| ) |
const throw () |
|
inline |
Gets the C++ source-code file name whence this exception was raised.
- Returns:
- Returns said file name.
Definition at line 95 of file zorba_exception.h.
line_type zorba::ZorbaException::raise_line |
( |
| ) |
const throw () |
|
inline |
Gets the C++ source-code line number whence this exception was raised.
- Returns:
- Returns said line number.
Definition at line 104 of file zorba_exception.h.
void zorba::ZorbaException::set_diagnostic |
( |
Diagnostic const & |
diagnostic | ) |
throw () |
|
inline |
Sets the diagnostic.
- Parameters:
-
diagnostic | The diagnostic. |
Definition at line 86 of file zorba_exception.h.
char const* zorba::ZorbaException::what |
( |
| ) |
const throw () |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
ZorbaException const & |
e |
|
) |
| |
|
friend |
void serialization::operator& |
( |
serialization::Archiver & |
, |
|
|
ZorbaException *& |
|
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: