Subject Re: [ib-support] How does SQLERROR work in a Stored Procedure
Author Claudio Valderrama C.
"Alan J Davies" <Aldis@...> wrote in message
news:200202230516_MC3-F320-8DDF@......
>
> I have one remaining question about using my own exception messages. When
I
> get an error message within Delphi (and in isql) I get a 2 line message
> like:
>
> exception 8 // this is the RDB$EXCEPTIONS \ RDB$EXCEPTIONS_NUMBER in
the
> database
> Cannot Insert Part # - Already on File // My own message
>
> Is it possible to suppress the first line?

I think you'll have to supress the message by hand. It's either a limitation
or a bug that you see the number of the exception and not its name. The
issue has been around for a good time.

C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing