getErrorMessage
String session.getErrorMessage ( ) (enterprise edition only)
Description
Get the current error message.
Parameters
This method does not receive any parameters.
Return Values
Returns current error message, as a string.
Change Log
Version | Description |
---|---|
4.5 | Available for enterprise edition. |
Examples
Write Error Message to the Log
// Output the current error message to the log.
session.log( "Error message: " + session.getErrorMessage() );
session.log( "Error message: " + session.getErrorMessage() );
See Also
- appendErrorMessage() [session] -Add to the error message.
- setErrorMessage() [session] - Set the error message.
scraper on 07/16/2010 at 4:54 pm
- Printer-friendly version
- Login or register to post comments