logException
void log.logException ( Exception exception )
Description
Logs an Exception, with a full stack trace, at the Error level
Parameters
- exception The Exception to log
Return Value
This method returns void.
Change Log
Version |
Description |
5.5.29a |
Available in all editions. |
5.5.43a |
Moved from session to log class. |
Examples
Log an exception
try
{
int result = Integer.parseInt(dataRecord.get("SCRAPED_VALUE"));
}
catch(Exception e)
{
log.logException(e);
}