![]() |
|
PhoenixSwarm
3.5.0
Library to ease communication between daemons
|
Base exception class for the Phoenix project. More...
#include <daemon_config_exception.h>
Inheritance diagram for Phoenix::SwarmException:
Collaboration diagram for Phoenix::SwarmException:Public Member Functions | |
| const PString & | getComponent () const |
| Get the component of the SwarmException. | |
| const PString & | getFunction () const |
| Get the function of the SwarmException. | |
| const PString & | getMessage () const |
| Get the error message of the SwarmException. | |
| SwarmException (const PString &function, const PString &message, const PString &component="") | |
| Constructor of the SwarmException. | |
Private Attributes | |
| PString | p_component |
| Component of the message. | |
| PString | p_function |
| Function where the error occurs. | |
| PString | p_message |
| Error Message. | |
Base exception class for the Phoenix project.
Definition at line 15 of file daemon_config_exception.h.
| Phoenix::SwarmException::SwarmException | ( | const PString & | function, |
| const PString & | message, | ||
| const PString & | component = "" ) |
Constructor of the SwarmException.
| function | : name of the function where the error occurs |
| message | : error message |
| component | : component where the error happened |
Definition at line 15 of file daemon_config_exception.cpp.
References p_component, p_function, and p_message.
Referenced by Phoenix::ConfigException::ConfigException(), Phoenix::ParserException::ParserException(), and Phoenix::SocketStatusException::SocketStatusException().
Here is the caller graph for this function:| const PString & Phoenix::SwarmException::getComponent | ( | ) | const |
Get the component of the SwarmException.
Definition at line 24 of file daemon_config_exception.cpp.
References p_component.
| const PString & Phoenix::SwarmException::getFunction | ( | ) | const |
Get the function of the SwarmException.
Definition at line 38 of file daemon_config_exception.cpp.
References p_function.
| const PString & Phoenix::SwarmException::getMessage | ( | ) | const |
Get the error message of the SwarmException.
Definition at line 31 of file daemon_config_exception.cpp.
References p_message.
|
private |
Component of the message.
Definition at line 28 of file daemon_config_exception.h.
Referenced by getComponent(), and SwarmException().
|
private |
Function where the error occurs.
Definition at line 24 of file daemon_config_exception.h.
Referenced by getFunction(), and SwarmException().
|
private |
Error Message.
Definition at line 26 of file daemon_config_exception.h.
Referenced by getMessage(), and SwarmException().