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() );

See Also