Skip to Content
0
Feb 07, 2022 at 04:46 AM

HANA Stored Procedure Exception Handling - Storing & Re-Throwing

219 Views

Hi Experts,

I need an assistance on the following problem.

I wanted to store an exception into a manually created error log table then rethrow the exception using the following script.

image.png

However when an exception is found, the program directly rethrow the exception without storing any record in the error log table.

How do I both store the exception detail in a table & rethrow the exception properly? I hope the example given above is sufficient.

Thanks in advance.

Best regards,

CA

Attachments

image.png (9.2 kB)