Class library path required in example for try-catch exception handling could use some clarification that only Exception is part of the libraries included by default, whereas the first occurrence of StepErrorException or StepFailedException needs to be prepended by the full path of “com.kms.katalon.core.exception.” to work:

This is somewhat obscured by the sample code declaring it when explicitly throwing an exception predefined in a library, cf. Need help on Exception handling block - Archive - Katalon Community

A more instructive example might be e.g. (in a loop) along the lines of…

try {

catch (com.kms.katalon.core.exception.StepFailedException e) {
** this**.println(e)
** continue**}


Thank you for your feedback. I have noted your suggestion for updating the documentation.

Thanks again for choosing Katalon products,