|
ldas-tools-al 2.6.7
|
Classes | |
| class | unimplemented_error |
| Exception class for unimplemented functionality. More... | |
Functions | |
| template<class T> | |
| void | toss (const std::string &ClassName, const std::string &Filename, int LineNumber, const std::string &Description) |
| Helper function for throwing standard exceptions. | |
| void LDASTools::Error::toss | ( | const std::string & | ClassName, |
| const std::string & | Filename, | ||
| int | LineNumber, | ||
| const std::string & | Description ) |
Helper function for throwing standard exceptions.
| [in] | ClassName | The class throwing the exception, as a string. |
| [in] | Filename | The program unit where the exception is thrown |
| [in] | LineNumber | The line number in the file where exception is thrown |
| [in] | Description | A short description of the exceptional condition |
This function simplifies the addition of key debugging information when throwing an exception. The availability of the information to the developer greatly increases the developer's ability to trouble shoot problems.