db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r664171 - /db/jdo/trunk/api2-legacy/src/java/javax/jdo/
Date Fri, 06 Jun 2008 22:35:53 GMT
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 <code>JDODetachedFieldAccessException</code> 
+   * 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 <code>JDODetachedFieldAccessException</code> with the
    * specified detail message and nested <code>Throwable</code>s.

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 <code>JDOFatalDataStoreException</code> with the specified
+   * detail message, nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable[]</code>.
+   * @param failed the failed object.
+   */
+  public JDOFatalDataStoreException(String msg, Throwable[] nested, Object failed) {
+    super(msg, nested, failed);
+  }
+
+  /**
+   * Constructs a new <code>JDOFatalDataStoreException</code> with the specified
+   * detail message, nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable</code>.
+   * @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 <code>JDOFatalInternalException</code> 
+   * 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 <code>JDOFatalInternalException</code> with the specified
+   * detail message, nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable[]</code>.
+   * @param failed the failed object.
+   */
+  public JDOFatalInternalException(String msg, Throwable[] nested, Object failed) {
+    super(msg, nested, failed);
+  }
+
+  /**
+   * Constructs a new <code>JDOFatalInternalException</code> with the specified
+   * detail message, nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable</code>.
+   * @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 <code>JDOObjectNotFoundException</code> with the
    * specified detail message and nested <code>Throwable</code>s.
    * @param msg the detail message.
+   * @param nested the nested <code>Throwable</code>.
+   */
+  public JDOObjectNotFoundException(String msg, Throwable nested) {
+    super(msg, nested);
+  }
+
+  /**
+   * Constructs a new <code>JDOObjectNotFoundException</code> with the
+   * specified detail message and nested <code>Throwable</code>s.
+   * @param msg the detail message.
    * @param nested the nested <code>Throwable[]</code>.
    */
   public JDOObjectNotFoundException(String msg, Throwable[] nested) {
     super(msg, nested);
   }
 
+
+  /**
+   * Constructs a new <code>JDOObjectNotFoundException</code> with the specified
+   * detail message, nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable[]</code>.
+   * @param failed the failed object.
+   */
+  public JDOObjectNotFoundException(String msg, Throwable[] nested, Object failed) {
+    super(msg, nested, failed);
+  }
+
+  /**
+   * Constructs a new <code>JDOFatalInternalException</code> with the specified
+   * detail message, nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable</code>.
+   * @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 <code>JDOOptimisticVerificationException</code> with the

-   * specified detail message and nested <code>Throwable</code>s.
+   * specified detail message and nested <code>Throwable[]</code>s.
    * @param msg the detail message.
    * @param nested the nested <code>Throwable[]</code>.
    */
   public JDOOptimisticVerificationException(String msg, Throwable[] nested) {
     super(msg, nested);
   }
+  
+  /**
+   * Constructs a new <code>JDOOptimisticVerificationException</code> with the
specified
+   * detail message, nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable[]</code>.
+   * @param failed the failed object.
+   */
+  public JDOOptimisticVerificationException(String msg, Throwable[] nested, Object failed)
{
+    super(msg, nested, failed);
+  }
+
+  /**
+   * Constructs a new <code>JDOOptimisticVerificationException</code> with the
specified
+   * detail message, nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable</code>.
+   * @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 <code>JDOUserCallbackException</code> 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 <code>JDOUserCallbackException</code> with the specified
detail message,
+   * nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable[]</code>.
+   * @param failed the failed object.
+   */
+  public JDOUserCallbackException(String msg, Throwable[] nested, Object failed) {
+    super(msg, nested, failed);
+  }
+  
+  /** Constructs a new <code>JDOUserException</code> with the specified detail
message,
+   * nested <code>Throwable</code>s, and failed object.
+   * @param msg the detail message.
+   * @param nested the nested <code>Throwable</code>.
+   * @param failed the failed object.
+   */
+  public JDOUserCallbackException(String msg, Throwable nested, Object failed) {
+    super(msg, nested, failed);
+  }
 }
 



Mime
View raw message