getFatalErrorOccurred
boolean session.getFatalErrorOccurred ( ) (enterprise edition only)
Description
Determine the fatal error status of the scrape.
Parameters
This method does not receive any parameters.
Return Values
Returns whether a fatal error has occurred, as a boolean .
Change Log
Version | Description |
---|---|
4.5 | Available for enterprise edition. |
Examples
Write Fatal Error State to Log
// Output the "fatal error" state to the log.
session.log( "Fatal error occurred: " + session.getFatalErrorOccurred() );
session.log( "Fatal error occurred: " + session.getFatalErrorOccurred() );
See Also
- setFatalErrorOccurred() [session] - Determine that a fatal error has occurred.
scraper on 07/16/2010 at 4:54 pm
- Printer-friendly version
- Login or register to post comments