#include <applicationexception.h>
Public Member Functions | |
| ApplicationError (string errormsg, string function_name) | |
| Constructor. Create an object, print error message and abort if severity FATAL was chosen. | |
| virtual string | message () |
| Return nice formatted error message. | |
Protected Attributes | |
| string | errormsg |
| textual error message | |
| string | function_name |
| function/method where this error occured | |
Each exception gets a severity (Warning, Error or Fatal), a message and the name of the function where it occurred.
|
||||||||||||
|
Constructor. Create an object, print error message and abort if severity FATAL was chosen.
|
|
|
Return nice formatted error message. Returns the string "Classname: error message occured in function()"
|
|
|
textual error message
|
|
|
function/method where this error occured
|
1.3.8