Re: How do you Trap for Error in XML and Stored Procs

From: <stemp1ar_at_my-deja.com>
Date: Thu, 17 Aug 2000 02:45:36 GMT
Message-ID: <8nfjkc$eiq$1_at_nnrp1.deja.com>


Thanks for the response...

Do you have any examples of the redirection? For example you call an oracle sp in server side asp and return an error...are you able to check the return code and redirect to an error page and display the exception that was raised?

In article <8navfr$mhb$1_at_perki.connect.com.au>,   "Tom Zamani" <tomz_at_redflex.com.au> wrote:
> You can use exception handler to trap the errors.
> you can define your own exceptions, if data related errors the oracle
 does
> have exception to handle it.
> if other errors then by using your own exceptions you can do other
 thing
> like bring the error msg etc.
> Tom
> <stemp1ar_at_my-deja.com> wrote in message news:8n9gpm$d92
 $1_at_nnrp1.deja.com...
> > Warning not experienced in XML, but learning...
> >
> > How is error trapping done in: A client/server application web
> > browser/database(stored procedure) done?
> >
> > If a stored procedure that is creating XML code and returning the
 XML
> > code to the browser and it gets an error (in the sql within the
 stored
> > procedure). How is this error being returned to the browser... as
 XML?
> > How do you know if it is indeed an error or if it its data?
> >
> > Thanks in advance
> > stemp1ar_at_yahoo.com
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Aug 17 2000 - 04:45:36 CEST

Original text of this message