Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XU6Xd-0004Xb-M6 for pgsql-jdbc@arkaria.postgresql.org; Wed, 17 Sep 2014 04:08:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XU6Xd-00074h-5m for pgsql-jdbc@arkaria.postgresql.org; Wed, 17 Sep 2014 04:08:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XU6Xc-00074a-9i for pgsql-jdbc@postgresql.org; Wed, 17 Sep 2014 04:08:28 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XU6XX-0004nx-K7 for pgsql-jdbc@postgresql.org; Wed, 17 Sep 2014 04:08:27 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XU6XT-0001IL-Rw for pgsql-jdbc@postgresql.org; Tue, 16 Sep 2014 21:08:19 -0700 Date: Tue, 16 Sep 2014 21:08:19 -0700 (PDT) From: cowwoc To: pgsql-jdbc@postgresql.org Message-ID: <1410926899860-5819281.post@n5.nabble.com> Subject: Why does BaseDataSource.setUrl() throw SQLException? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc