pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Why does BaseDataSource.setUrl() throw SQLException?
7+ messages / 3 participants
[nested] [flat]

* Why does BaseDataSource.setUrl() throw SQLException?
@ 2014-09-17 04:08 cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 09:41 ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 7+ messages in thread

From: cowwoc @ 2014-09-17 04:08 UTC (permalink / raw)
  To: pgsql-jdbc

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....
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Why does BaseDataSource.setUrl() throw SQLException?
  2014-09-17 04:08 Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
@ 2014-09-17 09:41 ` Dave Cramer <pg@fastcrypt.com>
  2014-09-17 13:18   ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  0 siblings, 1 reply; 7+ messages in thread

From: Dave Cramer @ 2014-09-17 09:41 UTC (permalink / raw)
  To: cowwoc <cowwoc@bbs.darktech.org>; +Cc: 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@bbs.darktech.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....
> Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Why does BaseDataSource.setUrl() throw SQLException?
  2014-09-17 04:08 Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 09:41 ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
@ 2014-09-17 13:18   ` cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 13:21     ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 7+ messages in thread

From: cowwoc @ 2014-09-17 13:18 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc

Okay good.

Is there a bug tracker for this project or do you normally handle things 
from this point?

Thanks,
Gili

On 17/09/2014 5:41 AM, Dave Cramer wrote:
> 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@bbs.darktech.org 
> <mailto:cowwoc@bbs.darktech.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....
>     Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
>
>
>     --
>     Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org
>     <mailto:pgsql-jdbc@postgresql.org>)
>     To make changes to your subscription:
>     http://www.postgresql.org/mailpref/pgsql-jdbc
>
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Why does BaseDataSource.setUrl() throw SQLException?
  2014-09-17 04:08 Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 09:41 ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
  2014-09-17 13:18   ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
@ 2014-09-17 13:21     ` Dave Cramer <pg@fastcrypt.com>
  2014-09-17 14:38       ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  0 siblings, 1 reply; 7+ messages in thread

From: Dave Cramer @ 2014-09-17 13:21 UTC (permalink / raw)
  To: cowwoc <cowwoc@bbs.darktech.org>; +Cc: pgsql-jdbc

post a bug on github, or better yet post a pull request on github

Dave

Dave Cramer

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

On 17 September 2014 09:18, cowwoc <cowwoc@bbs.darktech.org> wrote:

>  Okay good.
>
> Is there a bug tracker for this project or do you normally handle things
> from this point?
>
> Thanks,
> Gili
>
>
> On 17/09/2014 5:41 AM, Dave Cramer wrote:
>
> 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@bbs.darktech.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....
>> Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
>>
>>
>> --
>> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-jdbc
>>
>
>
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Why does BaseDataSource.setUrl() throw SQLException?
  2014-09-17 04:08 Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 09:41 ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
  2014-09-17 13:18   ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 13:21     ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
@ 2014-09-17 14:38       ` cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 16:35         ` Re: Why does BaseDataSource.setUrl() throw SQLException? Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 7+ messages in thread

From: cowwoc @ 2014-09-17 14:38 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc

Done: https://github.com/pgjdbc/pgjdbc/pull/186

Gili

On 17/09/2014 9:21 AM, Dave Cramer wrote:
> post a bug on github, or better yet post a pull request on github
>
> Dave
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
> On 17 September 2014 09:18, cowwoc <cowwoc@bbs.darktech.org 
> <mailto:cowwoc@bbs.darktech.org>> wrote:
>
>     Okay good.
>
>     Is there a bug tracker for this project or do you normally handle
>     things from this point?
>
>     Thanks,
>     Gili
>
>
>     On 17/09/2014 5:41 AM, Dave Cramer wrote:
>>     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@bbs.darktech.org
>>     <mailto:cowwoc@bbs.darktech.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....
>>         Sent from the PostgreSQL - jdbc mailing list archive at
>>         Nabble.com.
>>
>>
>>         --
>>         Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org
>>         <mailto:pgsql-jdbc@postgresql.org>)
>>         To make changes to your subscription:
>>         http://www.postgresql.org/mailpref/pgsql-jdbc
>>
>>
>
>

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Why does BaseDataSource.setUrl() throw SQLException?
  2014-09-17 04:08 Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 09:41 ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
  2014-09-17 13:18   ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 13:21     ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
  2014-09-17 14:38       ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
@ 2014-09-17 16:35         ` Michael Paquier <michael.paquier@gmail.com>
  2014-09-17 16:53           ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  0 siblings, 1 reply; 7+ messages in thread

From: Michael Paquier @ 2014-09-17 16:35 UTC (permalink / raw)
  To: cowwoc <cowwoc@bbs.darktech.org>; +Cc: Dave Cramer <pg@fastcrypt.com>; pgsql-jdbc

On Wed, Sep 17, 2014 at 7:38 AM, cowwoc <cowwoc@bbs.darktech.org> wrote:
> Done: https://github.com/pgjdbc/pgjdbc/pull/186
Note that Travis is complaining about this patch at its current state.
-- 
Michael


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Why does BaseDataSource.setUrl() throw SQLException?
  2014-09-17 04:08 Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 09:41 ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
  2014-09-17 13:18   ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 13:21     ` Re: Why does BaseDataSource.setUrl() throw SQLException? Dave Cramer <pg@fastcrypt.com>
  2014-09-17 14:38       ` Re: Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
  2014-09-17 16:35         ` Re: Why does BaseDataSource.setUrl() throw SQLException? Michael Paquier <michael.paquier@gmail.com>
@ 2014-09-17 16:53           ` cowwoc <cowwoc@bbs.darktech.org>
  0 siblings, 0 replies; 7+ messages in thread

From: cowwoc @ 2014-09-17 16:53 UTC (permalink / raw)
  To: Michael Paquier <michael.paquier@gmail.com>; +Cc: Dave Cramer <pg@fastcrypt.com>; pgsql-jdbc

On 17/09/2014 12:35 PM, Michael Paquier wrote:
> On Wed, Sep 17, 2014 at 7:38 AM, cowwoc <cowwoc@bbs.darktech.org> wrote:
>> Done: https://github.com/pgjdbc/pgjdbc/pull/186
> Note that Travis is complaining about this patch at its current state.

Looks like a build problem (nothing to do with my patch). See 
https://travis-ci.org/pgjdbc/pgjdbc/jobs/35541539

Gili


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2014-09-17 16:53 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-09-17 04:08 Why does BaseDataSource.setUrl() throw SQLException? cowwoc <cowwoc@bbs.darktech.org>
2014-09-17 09:41 ` Dave Cramer <pg@fastcrypt.com>
2014-09-17 13:18   ` cowwoc <cowwoc@bbs.darktech.org>
2014-09-17 13:21     ` Dave Cramer <pg@fastcrypt.com>
2014-09-17 14:38       ` cowwoc <cowwoc@bbs.darktech.org>
2014-09-17 16:35         ` Michael Paquier <michael.paquier@gmail.com>
2014-09-17 16:53           ` cowwoc <cowwoc@bbs.darktech.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox