Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Exceptions in EDBManager
Mon, Feb 9 2009 9:38 AMPermanent Link

Uli Becker
Hi,

I wrote a script that creates some temporary tables. Since I don't know
if the tables exist or not, I embedded the code in a begin - exception -
end block.

During runtime that works fine, but in EDBManager an exception is raised
every time if the table already exists, even with "Stop on Exeptions"
set to false.

Is that the normal behaviour?

Regards Uli
Mon, Feb 9 2009 6:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< During runtime that works fine, but in EDBManager an exception is raised
every time if the table already exists, even with "Stop on Exeptions" set to
false. >>

Is the execution of the script actually stopping, or is it just reporting
the exception ?  It should always report the exception, but stop only if you
have Pause on Exceptions checked.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Feb 10 2009 1:52 AMPermanent Link

Uli Becker
Tim,

> Is the execution of the script actually stopping, or is it just reporting
> the exception ?  It should always report the exception, but stop only if you
> have Pause on Exceptions checked.

It's not clear. In the status-bar it says "The scipt was executed
successfully..." On the gutter there is a Stop-icon, not the pause-icon.

I am creating 2 tables, thus the exception should be raised twice when
they exist. This is the case when "Pause on Exceptions" is checked. If
not, the exception is reported only for the second table.

I posted the sql into the binaries.

Regards Uli
Tue, Feb 10 2009 6:50 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< It's not clear. In the status-bar it says "The scipt was executed
successfully..." On the gutter there is a Stop-icon, not the pause-icon.

I am creating 2 tables, thus the exception should be raised twice when they
exist. This is the case when "Pause on Exceptions" is checked. If not, the
exception is reported only for the second table. >>

Okay, I see what you're saying now.  This is just the way that it was
designed, but I'll see if I can stop if from showing the last exception if
there is an EXCEPTION block in effect.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image