Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ORACLE error codes

Re: ORACLE error codes

From: Alex Vinokur <alexander.vinokur_at_telrad.co.il>
Date: Sun, 24 Oct 1999 13:05:23 GMT
Message-ID: <7uv06i$9vu$1@nnrp1.deja.com>


In article <7uuoo4$fh9$1_at_neptunium.btinternet.com>,   "-=< a q u a b u b b l e >=-"
<aquabubble_at_Remove.No.Parma.Ham.Remove.geocities.com> wrote: [snip]

> Why do you want to code for every error? Why don't you find the ones
you
> expect, and then code for WHEN OTHERS, finding out the error code and
error
> message using SQLERRM, etc.?
>
> HTH
>
>

  1. I don't want to use hard code (1403). I'd prefer to use errors' mnemonic codes.
  2. There is no problem to create enum containing such codes.
  3. I'd prefer to use standard header file containing such mnemonic codes.
	Thanks
	Alex



Sent via Deja.com http://www.deja.com/
Before you buy. Received on Sun Oct 24 1999 - 08:05:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US