PFlib.
More...
◆ Exception() [1/2]
pflib::Exception::Exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
Empty constructor.
Don't build stack trace for empty exceptions.
◆ Exception() [2/2]
Class constructor.
- Parameters
-
name | Name of the exception. |
message | Extended message describing the exception. |
module | Filename in the source code where the exception occurred. |
line | Line in the source code where the exception occurred. |
function | Function in which the exception occurred. |
◆ function()
const std::string & pflib::Exception::function |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
Get the function name where the exception occurred.
- Returns
- The function name where the exception occurred.
◆ line()
int pflib::Exception::line |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
Get the source line number where the exception occurred.
- Returns
- The source line number where the exception occurred.
◆ message()
const std::string & pflib::Exception::message |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
Get the message of the exception.
- Returns
- The message of the exception.
◆ module()
const std::string & pflib::Exception::module |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
Get the source filename where the exception occurred.
- Returns
- The source filename where the exception occurred.
◆ name()
const std::string & pflib::Exception::name |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
Get the name of the exception.
- Returns
- The name of the exception.
◆ what()
virtual const char * pflib::Exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
The error message.
- Returns
- The error message.
The documentation for this class was generated from the following file: