Slice Tools
Home
SourceForge Page
libFoundation
Home
Class Hierarchy
Class List
Class Members
Examples
|
|
Exception Class Reference#include <Exceptions.hh>
Inheritance diagram for Exception:
List of all members.
Detailed Description
Base class for all Exceptions. - Examples:
-
example-configfile.cc, example-logging.cc, example-minimal.cc, and example-options.cc.
|
Public Member Functions |
| Exception (std::string msg, std::string module) |
std::string | getErrorMsg () const |
| Gets the error message.
|
std::string | getModule () const |
| Gets the module name.
|
void | setRawErrorMsg (std::string msg) |
| Sets the error message.
|
void | setModule (std::string module) |
Static Public Member Functions |
std::string | quote (std::string msg) |
| Static method to enclose a string in quotes "...".
|
Constructor & Destructor Documentation
Exception::Exception |
( |
std::string |
msg, |
|
|
std::string |
module |
|
) |
|
|
Member Function Documentation
std::string Exception::getErrorMsg |
( |
|
) |
const |
|
std::string Exception::getModule |
( |
|
) |
const |
|
std::string Exception::quote |
( |
std::string |
msg |
) |
[static] |
|
|
Static method to enclose a string in quotes "...".
|
void Exception::setModule |
( |
std::string |
module |
) |
|
|
void Exception::setRawErrorMsg |
( |
std::string |
msg |
) |
|
|
The documentation for this class was generated from the following files:
|