Package dev.frostlake.executor
Interface ContinueHandler
public interface ContinueHandler
A block's
WHEN … CONTINUE THEN exception handling, consulted by loop executors so that a
loop-body error matching a CONTINUE handler resumes at the next loop iteration (Snowflake CONTINUE
semantics). Implemented by the BEGIN…END handler and pushed onto ProceduralExecutor for the
duration of a block that declares an EXCEPTION section.-
Method Summary
Modifier and TypeMethodDescriptionbooleanOffer a raised exception to this block.
-
Method Details
-
tryHandleAsContinue
Offer a raised exception to this block. If a matchingCONTINUEhandler exists, run its statements and returntrue— the caller then proceeds past the failure (for a loop body, the next iteration). Returnfalseif no CONTINUE handler matches, so the caller propagates the exception (an EXIT handler / no handler unwinds as usual).
-