Re: Creating server-procedures in Des2K

From: Brad Worsfold <bworsfold_at_vic.lgs.ca>
Date: 1998/01/19
Message-ID: <01bd24f3$e9ae0270$0faf22cf_at_cerulean>#1/1


Hi Maarten.

I do not think this is possible, as you would need to define the Pragma handler as a variable for the function you are trying to write. There is no way to define that type of construct for a module.

You will have to go the free format route.

Take care,

Brad

Maarten Scharroo <m.scharroo_at_elsevier.nl> wrote in article <34C39C97.8389F66A_at_elsevier.nl>...
> Hi everybody
>
> Can I trap user-defined exception ( like -1031 i.e insufficient
> privileges ) in a procedure generated by Designer 2000 version 1.3.2
> using the declarative approach. (Free format set to false )
>
> User-defined exceptions need a
> PRAGMA EXCEPTION_INIT( <user-defined-name>, <errno> );
> statement in the declare section directly following the call:
> user_defined_name EXCEPTION;
>
> I'am still unable to use the declarative approach to generate the
> correct sequence of statements.
>
> Many thanks
>
>
  Received on Mon Jan 19 1998 - 00:00:00 CET

Original text of this message