db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r774471 - /db/derby/code/trunk/java/client/org/apache/derby/client/am/BatchUpdateException.java
Date Wed, 13 May 2009 18:25:20 GMT
Author: kahatlen
Date: Wed May 13 18:25:16 2009
New Revision: 774471

URL: http://svn.apache.org/viewvc?rev=774471&view=rev
Log:
DERBY-4228: Remove unused pre-i18n constructors in BatchUpdateException

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/am/BatchUpdateException.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/BatchUpdateException.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/BatchUpdateException.java?rev=774471&r1=774470&r2=774471&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/BatchUpdateException.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/BatchUpdateException.java Wed
May 13 18:25:16 2009
@@ -21,7 +21,6 @@
 
 package org.apache.derby.client.am;
 
-import org.apache.derby.iapi.services.info.JVMInfo;
 import org.apache.derby.shared.common.i18n.MessageUtil;
 import org.apache.derby.shared.common.error.ExceptionUtil;
 
@@ -75,36 +74,4 @@
     {
         this(logWriter, msgid, new Object[] {arg1}, updateCounts);
     }
-    
-    //-----------------old constructors - to be removed when i18n is complete
-    //-----------------------------------------------
-
-    // Temporary constructor until all error keys are defined.
-    public BatchUpdateException(LogWriter logWriter) {
-        this(logWriter, null, null, SqlException.DEFAULT_ERRCODE, null);
-    }
-
-    // Temporary constructor until all error keys are defined.
-    public BatchUpdateException(LogWriter logWriter, int[] updateCounts) {
-        this(logWriter, null, null, SqlException.DEFAULT_ERRCODE, updateCounts);
-    }
-
-    // Temporary constructor until all error keys are defined.
-    public BatchUpdateException(LogWriter logWriter, String reason, int[] updateCounts) {
-        this(logWriter, reason, null, SqlException.DEFAULT_ERRCODE, updateCounts);
-    }
-
-    // Temporary constructor until all error keys are defined.
-    public BatchUpdateException(LogWriter logWriter, String reason, String sqlState, int[]
updateCounts) {
-        this(logWriter, reason, sqlState, SqlException.DEFAULT_ERRCODE, updateCounts);
-    }
-
-    // Temporary constructor until all error keys are defined.
-    public BatchUpdateException(LogWriter logWriter, String reason, String sqlState, int
errorCode, int[] updateCounts) {
-        super(reason, sqlState, errorCode, updateCounts);
-        if (logWriter != null) {
-            logWriter.traceDiagnosable(this);
-        }
-    }
 }
-



Mime
View raw message