Your message dated Tue, 25 Jul 2006 22:23:36 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: jython
Version: 2.1.0-18
Severity: normal

There's an example

from java.lang import *
from java.sql import *

Class.forName('org.postgresql.Driver')
con= DriverManager.getConnection('jdbc:postgresql:skdb', 'admin', '')
stmt= con.createStatement()

caught= 0

try:
    stmt.execute('aa')
except SQLException, e:
    print 'Caught SQLException'
    caught= 1

if not caught:
    print 'UnCaught'

-------------------------------------

Program ends with uncaught PSQLException exception:
  org.postgresql.util.PSQLException: ERROR: syntax error at or near "aa"

But PSQLException IS subclass of SQLException, I've got same experience
with Sybase.

My jython uses sun java v.1.4.1_01


Jan Gregor


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.21-xfs
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (ignored: LC_ALL set to cs_CZ)

Versions of packages jython depends on:
ii  gij-3.3 [java1-runtime]       1:3.3.3-1  The GNU Java bytecode interpreter
ii  java-virtual-machine-dummy [j 0.3        Dummy Java virtual machine
ii  java-virtual-machine-local [j 1.0        Dummy package to fulfil package de
ii  libreadline-java              0.8.0.1-2  GNU readline and BSD editline wrap
ii  python2.1                     2.1.3-3.2  An interactive object-oriented scr
ii  sablevm [java1-runtime]       1.1.0-5    Free implementation of Java Virtua

-- no debconf information



--- End Message ---
--- Begin Message ---
jython has been removed because it's "orphaned, obsolete".

-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---

Reply via email to