Subject how can i handle the exception 'object' in a general way
Author flipmooooo
Hi,

I created some custom exceptions, how can i handle the
exception 'object' in a general way in the 'when exception block'?

WHEN EXCEPTION Custom_Exception1, EXCEPTION Custom_Exception2 DO
BEGIN
MyException = EXCEPTION.RDB$EXCEPTION_NAME;
MyExceptionText = EXCEPTION.RDB$MESSAGE;
END

Greetings,
Filip Moons