Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
|
Warning with customizable message. More...
#include <Exceptions.hpp>
Public Member Functions | |
GeneralWarning () | |
GeneralWarning (const std::string &msg) | |
virtual | ~GeneralWarning () throw () |
virtual const char * | what () const throw () |
Protected Attributes | |
const std::string | message_ |
The message that is to be printed. | |
Warning with customizable message.
Use derived classes for specific events. Although looks exactly like GeneralExceptions, the difference is that warnings are meant to be gently caught without aborting the program execution.
|
inline |
Default Constructor
|
inlineexplicit |
Constructor for the general exception that accepts a message to print
[in] | msg | : the message to print before killing the execution |
|
inlinevirtual |
Destructor that throws the exception for us
|
inlinevirtual |
Overloading of the what() method that outputs what the error was