re raise



re_raise
Smart pascal source code
Procedure ExceptionHandler; Begin // Outside re-raising Raise ExceptObject; // User defined exception: Floating point division by zero // but actually it is re-raised runtime-initiated exception End; Try var x := 0; var y := 5 div x; Except // Inside Re-rasing // Raise; // Floating point division by zero ExceptionHandler; End; {<<< RESULT - CONSOLE LOG >>> ----------------------------- Errors >>>> Runtime Error: Division by zero [line: 5, column: 20] [line: 19, column: 2] Result >>>> ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}