|
Leosac
0.7.0
OpenSourceAccessControl
|
A class to represents invalid argument exception in Leosac. More...
#include <InvalidArgument.hpp>
Inheritance diagram for Leosac::InvalidArgument:
Collaboration diagram for Leosac::InvalidArgument:Public Member Functions | |
| template<typename T > | |
| InvalidArgument (const std::string &arg_name, const T &arg_val, const std::string &what, const std::string &cond_str) | |
| The constructor takes multiple parameter in order to output an informative message. More... | |
Public Member Functions inherited from LEOSACException | |
| LEOSACException (const std::string &message) | |
| virtual | ~LEOSACException () |
| virtual const char * | what () const noexcept final |
| const Leosac::Tools::Stacktrace & | trace () const |
| Get the stacktrace associated with this exception. More... | |
Additional Inherited Members | |
Protected Attributes inherited from LEOSACException | |
| std::string | message_ |
A class to represents invalid argument exception in Leosac.
This class has the same meaning as std::invalid_argument but inherits from LEOSACException so it can carry additional information.
Check the constructor documentation for more.
Definition at line 41 of file InvalidArgument.hpp.
|
inline |
The constructor takes multiple parameter in order to output an informative message.
| arg_name | Which variable was invalid. |
| arg_val | The value of that variable. |
| what | An human friendly description of the expectations. |
| cond_str | The string representation of the condition. |
Definition at line 54 of file InvalidArgument.hpp.