logo       

Re: Handling Java exceptions (JDBC application ): msg#00083

lang.jython.user

Subject: Re: Handling Java exceptions (JDBC application )

On Tue, 31 May 2005 09:53:44 +0200, Diez B. Roggisch wrote:

>> By deliberately passing an illegal second parameter I can raise the
>> ValueError exception, but if I specify an incorrect datasource name (DSN)
>> the exception is not caught by net.MalformedURLException, but by the last
>> except (the one that prints "Pervasive.SQL error:").
> What exactly is catched there? what does the scond print say?

Sorry...I should have said...

Pervasive.SQL error:
java.net.MalformedURLException: Data Source Name (DSN) not found in URL

Neil



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise