#include <excepts.h>
Inheritance diagram for cornelluniversity::vetsim_exception:

Public Member Functions | |
| vetsim_exception (const std::string &errstr) | |
| constructor | |
| vetsim_exception (const char *errstr) | |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. constructor, overloaded to accept the traditional c-style string. | |
| virtual const std::string | details (void) const |
| Error string accessor. | |
It is intended that this will be the primary exception object in cases where you need to trap things that can't be caught before runtime; extend as needed for situations that can be uniquely dealt with. I've added a details() rouitne which will just give you the std::string variant of what(). std::runtime_error
Definition at line 51 of file excepts.h.
| cornelluniversity::vetsim_exception::vetsim_exception | ( | const std::string & | errstr | ) | [inline] |
constructor
| errstr | - sets a custom error message. |
| cornelluniversity::vetsim_exception::vetsim_exception | ( | const char * | errstr | ) | [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. constructor, overloaded to accept the traditional c-style string.
| errstr | - sets a custom error message. |
| virtual const std::string cornelluniversity::vetsim_exception::details | ( | void | ) | const [inline, virtual] |
1.4.7