Helper function for throwing standard exceptions.
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.
- Parameters
-
[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 |