db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r162079 - /incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/ModelVetoException.java
Date Wed, 20 Apr 2005 21:45:35 GMT
Author: mbo
Date: Wed Apr 20 14:45:34 2005
New Revision: 162079

URL: http://svn.apache.org/viewcvs?rev=162079&view=rev
Log:
Add new ModelVetoException constructor (for convenience)

Modified:
    incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/ModelVetoException.java

Modified: incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/ModelVetoException.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/ModelVetoException.java?rev=162079&r1=162078&r2=162079&view=diff
==============================================================================
--- incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/ModelVetoException.java (original)
+++ incubator/jdo/trunk/ri11/src/java/org/apache/jdo/model/ModelVetoException.java Wed Apr
20 14:45:34 2005
@@ -44,6 +44,16 @@
 
     /** 
      * Constructs a new <code>ModelVetoException</code> with the specified
+     * cause.
+     * @param cause the cause <code>Throwable</code>.
+     */
+    public ModelVetoException(Throwable cause) 
+    {
+        super("", cause);
+    }
+
+    /** 
+     * Constructs a new <code>ModelVetoException</code> with the specified
      * detail message and cause.
      * @param msg the detail message.
      * @param cause the cause <code>Throwable</code>.



Mime
View raw message