Skip to content

Commit

Permalink
Change exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbencze committed Jun 23, 2018
1 parent 107c415 commit 2264bdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public final void resumeState(final WebDriver webDriver, final InputStream in) {
*/
public final void stop() {
Validate.validState(!isStopped, "The crawler is not started.");
Validate.validState(!isStopping, "The stop method has already been called.");
Validate.validState(!isStopping, "The crawler is already stopping.");

// Indicate that the crawling should be stopped
isStopping = true;
Expand Down

0 comments on commit 2264bdd

Please sign in to comment.