7#ifndef __DAEMON_CONFIG8EXCEPTION_H__
8#define __DAEMON_CONFIG8EXCEPTION_H__
17 SwarmException(
const PString& function,
const PString& message,
const PString& component =
"");
ConfigException(const PString &function, const PString &message)
Config exception.
ParserException(const PString &function, const PString &message)
Parser exception.
SocketStatusException(const PString &function, const PString &message)
Socket exception.
PString p_function
Function where the error occurs.
const PString & getComponent() const
Get the component of the SwarmException.
const PString & getMessage() const
Get the error message of the SwarmException.
PString p_message
Error Message.
SwarmException(const PString &function, const PString &message, const PString &component="")
Constructor of the SwarmException.
const PString & getFunction() const
Get the function of the SwarmException.
PString p_component
Component of the message.