Logs an exception to a results file.
ExceptLog ( )
ExceptLog logs an error to the results file by calling the built-in function LogError with the data from the most recent exception (an error message by convention). ExceptLog also writes the call stack information for that exception to the results file.
If you write your own TestCaseExit function, be sure your code calls ExceptLog if you want all errors to be officially flagged as such in your results.
[-] TestCaseExit (BOOLEAN bException) [-] if (bException) [ ] ExceptLog () [ ] // code to execute after an exception, [ ] // for example, cleanup routines [ ] // code to execute after every testcase, [ ] // whether or not an error occurred