I am wondering can try..catch force execution to go into the catch and run code in there?

here example code:

try {
    if (AnyConditionTrue) {
      // run some code
    }
    else {
      // go catch
    }
} catch (Exception) {
    // run some code here...
}
Edit
Report