Call the CasCrawler.deleteCrawl() method to delete an existing crawl.

The syntax of the method is:

CasCrawler.deleteCrawl(CrawlId crawlId)

The crawlId parameter is a CrawlId object that contains the name of the crawl to be deleted.

To delete a crawl:

If the CasCrawler.deleteCrawl() method fails, it throws an exception:

As shown in step 3, use a try block to catch these exceptions.


Copyright © Legal Notices