Subject Exception with a parameter
Author Christian Gütter
Hi,

is there a way to add a parameter to an exception which
is displayed in the exception text?

Something like this:

CREATE EXCEPTION E_PA_CM_VERTRAG_NICHT_GEFUNDEN
'Contract <Param> was not found.'

IF (L_Id IS NULL) THEN
EXCEPTION E_Pa_Cm_Vertrag_Nicht_Gefunden('434');

This should result in the message
'Contract 434 not found.' when the exception is fired.

I am using FB 1.50 and I thought I had heard about parameterized
exceptions, but I cannot find anything in the release notes.


Thanks in advance,


Christian