Thank you for the hint. I am trying to understand, what you mean:

1.Setup the database connection           --> setup error
2. Setup a prepStatement (con.prepareStatement(queryString) --> ???
3. exeute the query: prepStmt.execute()]  --> runtime error

Is the second a runtime or setup error?
regards
Sarah Windler

Christian Haul wrote:
> 
> On 13.Jan.2003 -- 10:57 AM, Windler Burri, Sarah wrote:
> > Hi
> > Thank you for your reply, but I am not agree:
> > 1. Both errors in the example are runtime errors! Or more precisaly: Who
> > decides, which error ist a syntax or runtime error?
> 
> The try{ block starts just before prepareCall() or prepareStatement()
> is invoked and ends with } catch (SQLException) after the normal
> results have been dealt with.
> 
> So, either your query throws the error before that or does not throw
> an SQLException in both cases.
> 
>         Chris.
> --
> C h r i s t i a n       H a u l
> [EMAIL PROTECTED]
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>

-- 
ETH Zuerich
Informatikdienste/Kommunikation
Sarah Windler                          phone: +41 1 632 35 43
ETH Zentrum RZ G 24                      fax: +41 1 632 12 25
CH-8092 Zuerich              e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to