Hello,
You can throw Exception, as:
if(A) {
throw new Exception("a");
}
But usually you just put B in else,as:
if (A) {
} else {
B
}
or one if nothing to do when A == true:
if (!A) {
B
}
On Thu, Feb 25, 2021 at 4:21 PM Tong Sun <
[hidden email]> wrote:
> Hi,
>
> Quick & simple question, how to stop the jsr223 script from reaching
> the following processing code (B), return, exit, or ...?
>
> if (A) exit
> B
>
> I just want the jsr223 script not to process the following code, B,
> not to stop the whole thread execution, of which it's the only hits
> I've found from the internet so far.
>
> thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[hidden email]
> For additional commands, e-mail:
[hidden email]
>
>