Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 1021 invoked from network); 6 Jun 2008 22:36:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2008 22:36:17 -0000 Received: (qmail 76315 invoked by uid 500); 6 Jun 2008 22:36:20 -0000 Mailing-List: contact jdo-commits-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-commits@db.apache.org Received: (qmail 76306 invoked by uid 99); 6 Jun 2008 22:36:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 15:36:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 22:35:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CE9BF2388A2B; Fri, 6 Jun 2008 15:35:53 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r664171 - /db/jdo/trunk/api2-legacy/src/java/javax/jdo/ Date: Fri, 06 Jun 2008 22:35:53 -0000 To: jdo-commits@db.apache.org From: clr@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080606223553.CE9BF2388A2B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: clr Date: Fri Jun 6 15:35:53 2008 New Revision: 664171 URL: http://svn.apache.org/viewvc?rev=664171&view=rev Log: JDO-552 Add constructors for consistency Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDODetachedFieldAccessException.java db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalDataStoreException.java db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalInternalException.java db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOObjectNotFoundException.java db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOOptimisticVerificationException.java db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOUserCallbackException.java Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDODetachedFieldAccessException.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDODetachedFieldAccessException.java?rev=664171&r1=664170&r2=664171&view=diff ============================================================================== --- db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDODetachedFieldAccessException.java (original) +++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDODetachedFieldAccessException.java Fri Jun 6 15:35:53 2008 @@ -49,6 +49,16 @@ super(msg); } + /** Constructs a new JDODetachedFieldAccessException + * with the specified detail message + * and failed object. + * @param msg the detail message. + * @param failed the failed object. + */ + public JDODetachedFieldAccessException(String msg, Object failed) { + super(msg, failed); + } + /** * Constructs a new JDODetachedFieldAccessException with the * specified detail message and nested Throwables. Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalDataStoreException.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalDataStoreException.java?rev=664171&r1=664170&r2=664171&view=diff ============================================================================== --- db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalDataStoreException.java (original) +++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalDataStoreException.java Fri Jun 6 15:35:53 2008 @@ -71,5 +71,27 @@ public JDOFatalDataStoreException(String msg, Throwable nested) { super(msg, nested); } + + /** + * Constructs a new JDOFatalDataStoreException with the specified + * detail message, nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable[]. + * @param failed the failed object. + */ + public JDOFatalDataStoreException(String msg, Throwable[] nested, Object failed) { + super(msg, nested, failed); + } + + /** + * Constructs a new JDOFatalDataStoreException with the specified + * detail message, nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable. + * @param failed the failed object. + */ + public JDOFatalDataStoreException(String msg, Throwable nested, Object failed) { + super(msg, nested, failed); + } } Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalInternalException.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalInternalException.java?rev=664171&r1=664170&r2=664171&view=diff ============================================================================== --- db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalInternalException.java (original) +++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOFatalInternalException.java Fri Jun 6 15:35:53 2008 @@ -64,5 +64,37 @@ public JDOFatalInternalException(String msg, Throwable nested) { super(msg, nested); } + + /** + * Constructs a new JDOFatalInternalException + * with the specified detail message and failed object. + * @param msg the detail message. + * @param failed the failed object. + */ + public JDOFatalInternalException(String msg, Object failed) { + super(msg, failed); + } + + /** + * Constructs a new JDOFatalInternalException with the specified + * detail message, nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable[]. + * @param failed the failed object. + */ + public JDOFatalInternalException(String msg, Throwable[] nested, Object failed) { + super(msg, nested, failed); + } + + /** + * Constructs a new JDOFatalInternalException with the specified + * detail message, nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable. + * @param failed the failed object. + */ + public JDOFatalInternalException(String msg, Throwable nested, Object failed) { + super(msg, nested, failed); + } } Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOObjectNotFoundException.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOObjectNotFoundException.java?rev=664171&r1=664170&r2=664171&view=diff ============================================================================== --- db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOObjectNotFoundException.java (original) +++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOObjectNotFoundException.java Fri Jun 6 15:35:53 2008 @@ -60,11 +60,43 @@ * Constructs a new JDOObjectNotFoundException with the * specified detail message and nested Throwables. * @param msg the detail message. + * @param nested the nested Throwable. + */ + public JDOObjectNotFoundException(String msg, Throwable nested) { + super(msg, nested); + } + + /** + * Constructs a new JDOObjectNotFoundException with the + * specified detail message and nested Throwables. + * @param msg the detail message. * @param nested the nested Throwable[]. */ public JDOObjectNotFoundException(String msg, Throwable[] nested) { super(msg, nested); } + + /** + * Constructs a new JDOObjectNotFoundException with the specified + * detail message, nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable[]. + * @param failed the failed object. + */ + public JDOObjectNotFoundException(String msg, Throwable[] nested, Object failed) { + super(msg, nested, failed); + } + + /** + * Constructs a new JDOFatalInternalException with the specified + * detail message, nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable. + * @param failed the failed object. + */ + public JDOObjectNotFoundException(String msg, Throwable nested, Object failed) { + super(msg, nested, failed); + } } Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOOptimisticVerificationException.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOOptimisticVerificationException.java?rev=664171&r1=664170&r2=664171&view=diff ============================================================================== --- db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOOptimisticVerificationException.java (original) +++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOOptimisticVerificationException.java Fri Jun 6 15:35:53 2008 @@ -59,13 +59,35 @@ /** * Constructs a new JDOOptimisticVerificationException with the - * specified detail message and nested Throwables. + * specified detail message and nested Throwable[]s. * @param msg the detail message. * @param nested the nested Throwable[]. */ public JDOOptimisticVerificationException(String msg, Throwable[] nested) { super(msg, nested); } + + /** + * Constructs a new JDOOptimisticVerificationException with the specified + * detail message, nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable[]. + * @param failed the failed object. + */ + public JDOOptimisticVerificationException(String msg, Throwable[] nested, Object failed) { + super(msg, nested, failed); + } + + /** + * Constructs a new JDOOptimisticVerificationException with the specified + * detail message, nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable. + * @param failed the failed object. + */ + public JDOOptimisticVerificationException(String msg, Throwable nested, Object failed) { + super(msg, nested, failed); + } } Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOUserCallbackException.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOUserCallbackException.java?rev=664171&r1=664170&r2=664171&view=diff ============================================================================== --- db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOUserCallbackException.java (original) +++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/JDOUserCallbackException.java Fri Jun 6 15:35:53 2008 @@ -64,5 +64,34 @@ public JDOUserCallbackException(String msg, Throwable nested) { super(msg, nested); } + + /** Constructs a new JDOUserCallbackException with the specified detail message + * and failed object. + * @param msg the detail message. + * @param failed the failed object. + */ + public JDOUserCallbackException(String msg, Object failed) { + super(msg, failed); + } + + /** Constructs a new JDOUserCallbackException with the specified detail message, + * nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable[]. + * @param failed the failed object. + */ + public JDOUserCallbackException(String msg, Throwable[] nested, Object failed) { + super(msg, nested, failed); + } + + /** Constructs a new JDOUserException with the specified detail message, + * nested Throwables, and failed object. + * @param msg the detail message. + * @param nested the nested Throwable. + * @param failed the failed object. + */ + public JDOUserCallbackException(String msg, Throwable nested, Object failed) { + super(msg, nested, failed); + } }