Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 10855 invoked from network); 21 Jan 2003 00:44:55 -0000 Received: from exchange.sun.com (192.18.33.10) by 208.185.179.12.available.above.net with SMTP; 21 Jan 2003 00:44:55 -0000 Received: (qmail 23981 invoked by uid 97); 21 Jan 2003 00:46:22 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 23943 invoked by uid 97); 21 Jan 2003 00:46:21 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 23930 invoked by uid 50); 21 Jan 2003 00:46:21 -0000 Date: 21 Jan 2003 00:46:21 -0000 Message-ID: <20030121004621.23929.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 16283] New: - Inproper use of Exception X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16283 Inproper use of Exception Summary: Inproper use of Exception Product: Commons Version: 1.4 Final Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Dbcp AssignedTo: commons-dev@jakarta.apache.org ReportedBy: treaves@silverfields.com java.lang.Exception is thrown from public methods. This is bad. I'm not sure of all of them that do this, but here is one example: public PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit) throws Exception { -- To unsubscribe, e-mail: For additional commands, e-mail: