Visca exception.
More...
#include "visca.h"
List of all members.
Public Member Functions |
| | ViscaException (const char *msg) |
| | Constructor.
|
| | ViscaException (const char *msg, const int _errno) |
| | Constructor with errno.
|
| | Exception (const char *format,...) throw () |
| | Constructor.
|
| | Exception (int errno, const char *format,...) throw () |
| | Constructor.
|
| | Exception (const Exception &exc) throw () |
| | Copy constructor.
|
| virtual | ~Exception () throw () |
| | Destructor.
|
| virtual void | raise () |
| | This can be used to throw this exception.
|
| void | prepend (const char *format,...) throw () |
| | Prepend messages to the message list.
|
| void | append (const char *format,...) throw () |
| | Append messages to the message list.
|
| void | append_va (const char *format, va_list va) throw () |
| | Append messages to the message list.
|
| void | append (const Exception &e) throw () |
| | Append message that are from another Exception.
|
| void | print_trace () throw () |
| | Prints trace to stderr.
|
| void | print_backtrace () const throw () |
| | Prints a backtrace.
|
| char * | generate_backtrace () const throw () |
| | Generate backtrace string.
|
| int | get_errno () throw () |
| | Get errno.
|
| void | set_type_id (const char *id) |
| | Set exception type ID.
|
| const char * | type_id () const |
| | Get type ID.
|
| virtual const char * | what () const throw () |
| | Get primary string.
|
| Exception & | operator= (const Exception &exc) throw () |
| | Assign an Exception.
|
| iterator | begin () throw () |
| | Get iterator for messages.
|
| iterator | end () throw () |
| | Get end iterator for messages.
|
Detailed Description
Visca exception.
Definition at line 37 of file visca.h.
Constructor & Destructor Documentation
| ViscaException::ViscaException |
( |
const char * |
msg | ) |
|
Constructor.
- Parameters:
-
Definition at line 43 of file visca.cpp.
| ViscaException::ViscaException |
( |
const char * |
msg, |
|
|
const int |
_errno |
|
) |
| |
Constructor with errno.
- Parameters:
-
| msg | message prefix |
| _errno | errno for additional error information. |
Definition at line 52 of file visca.cpp.
The documentation for this class was generated from the following files: