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 Type
    Method
    Description
    boolean
    Offer a raised exception to this block.
  • Method Details

    • tryHandleAsContinue

      boolean tryHandleAsContinue(Exception e)
      Offer a raised exception to this block. If a matching CONTINUE handler exists, run its statements and return true — the caller then proceeds past the failure (for a loop body, the next iteration). Return false if no CONTINUE handler matches, so the caller propagates the exception (an EXIT handler / no handler unwinds as usual).