Re: Why does BaseDataSource.setUrl() throw SQLException?

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: cowwoc <cowwoc(at)bbs(dot)darktech(dot)org>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Why does BaseDataSource.setUrl() throw SQLException?
Date: 2014-09-17 09:41:51
Message-ID: CADK3HHJH1x5G5fU1xWa+3SrPnUJH3fhWgf3K7tncRa-HiFJ47A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Seems to be removable. No other interface declares it this way

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 17 September 2014 00:08, cowwoc <cowwoc(at)bbs(dot)darktech(dot)org> wrote:

> Hi,
>
> BaseDataSource.setUrl()'s signature claims it throws SQLException but
> looking at the code, it never does. Similarly, the documentation claims it
> throws this exception yet fails to explain under what circumstances.
>
> Can you please review whether this exception can be removed?
>
> Thank you,
> Gili
>
>
>
> --
> View this message in context:
> http://postgresql.1045698.n5.nabble.com/Why-does-BaseDataSource-setUrl-throw-SQLException-tp5819281.html
> Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message cowwoc 2014-09-17 13:18:32 Re: Why does BaseDataSource.setUrl() throw SQLException?
Previous Message cowwoc 2014-09-17 04:08:19 Why does BaseDataSource.setUrl() throw SQLException?