You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2018/11/28 16:48:11 UTC

svn commit: r1847657 - /db/derby/docs/trunk/src/ref/rrefexcept71493.dita

Author: rhillegas
Date: Wed Nov 28 16:48:11 2018
New Revision: 1847657

URL: http://svn.apache.org/viewvc?rev=1847657&view=rev
Log:
DERBY-6980: Update list of SQLStates and exceptions in the Reference Guide; commit derby-6980-13-aa-exceptionsList.diff.

Modified:
    db/derby/docs/trunk/src/ref/rrefexcept71493.dita

Modified: db/derby/docs/trunk/src/ref/rrefexcept71493.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefexcept71493.dita?rev=1847657&r1=1847656&r2=1847657&view=diff
==============================================================================
--- db/derby/docs/trunk/src/ref/rrefexcept71493.dita (original)
+++ db/derby/docs/trunk/src/ref/rrefexcept71493.dita Wed Nov 28 16:48:11 2018
@@ -91,7 +91,7 @@ the corresponding text in messages.xml a
                         </row>
                         <row>
                             <entry colname="col1">01504</entry>
-                            <entry colname="col2">The new index is a duplicate of an existing index: <varname>&lt;indexName&gt;</varname>.</entry>
+                            <entry colname="col2">'<varname>&lt;newIndexName&gt;</varname>' index not created because it is a duplicate of an existing index: '<varname>&lt;existingIndexName&gt;</varname>'.</entry>
                         </row>
                         <row>
                             <entry colname="col1">01505</entry>
@@ -1103,10 +1103,6 @@ the corresponding text in messages.xml a
                             <entry colname="col2">In an ALTER TABLE statement, the column '<varname>&lt;columnName&gt;</varname>' has been specified as NOT NULL and either the DEFAULT clause was not specified or was specified as DEFAULT NULL.</entry>
                         </row>
                         <row>
-                            <entry colname="col1">42601</entry>
-                            <entry colname="col2">ALTER TABLE statement cannot add an IDENTITY column to a table.</entry>
-                        </row>
-                        <row>
                             <entry colname="col1">42605</entry>
                             <entry colname="col2">The number of arguments for function '<varname>&lt;functionName&gt;</varname>' is incorrect.</entry>
                         </row>
@@ -1448,11 +1444,11 @@ the corresponding text in messages.xml a
                         </row>
                         <row>
                             <entry colname="col1">42X50</entry>
-                            <entry colname="col2">No method was found that matched the method call <varname>&lt;className&gt;</varname>.<varname>&lt;methodName&gt;</varname>(<varname>&lt;parameterTypes&gt;</varname>), tried all combinations of object and primitive types and any possible type conversion for any  parameters the method call may have. The method might exist but it is not public and/or static, or the parameter types are not method invocation convertible.</entry>
+                            <entry colname="col2">No method was found that matched the method call <varname>&lt;className&gt;</varname>.<varname>&lt;methodName&gt;</varname>(<varname>&lt;parameterTypes&gt;</varname>), tried all combinations of object and primitive types and any possible type conversion for any  parameters the method call may have. The method might exist but it is not public and/or static, or the parameter types are not method invocation convertible or the derby.database.classpath property is missing or incorrectly defined.</entry>
                         </row>
                         <row>
                             <entry colname="col1">42X51</entry>
-                            <entry colname="col2">The class '<varname>&lt;className&gt;</varname>' does not exist or is inaccessible. This can happen if the class is not public.</entry>
+                            <entry colname="col2">The class '<varname>&lt;className&gt;</varname>' does not exist or is inaccessible. This can happen if the class is not public or the derby.database.classpath property is missing or incorrectly defined.</entry>
                         </row>
                         <row>
                             <entry colname="col1">42X52</entry>
@@ -1743,6 +1739,22 @@ the corresponding text in messages.xml a
                             <entry colname="col2">The NEXT VALUE operator may not be used on a system-owned sequence generator.</entry>
                         </row>
                         <row>
+                            <entry colname="col1">42XAS</entry>
+                            <entry colname="col2">DISTINCT and ALL are not allowed with the VAR_POP, VAR_SAMP, STDDEV_POP, and STDDEV_SAMP aggregates.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">42XAT</entry>
+                            <entry colname="col2">Invalid row identifier scope: '<varname>&lt;scope&gt;</varname>' </entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">42XAU</entry>
+                            <entry colname="col2">Invalid column name/names in the input file: '<varname>&lt;columnPattern&gt;</varname>' or Wrong number of header lines</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">42XAV</entry>
+                            <entry colname="col2">Number of header lines should be greater than 0.</entry>
+                        </row>
+                        <row>
                             <entry colname="col1">42XBA</entry>
                             <entry colname="col2">The schema, table or column does not exist or the column is not a string type.</entry>
                         </row>
@@ -2099,6 +2111,10 @@ the corresponding text in messages.xml a
                             <entry colname="col2">Bulk insert replace is not permitted on '<varname>&lt;tableName&gt;</varname>' because it has an enabled trigger (<varname>&lt;triggerName&gt;</varname>).</entry>
                         </row>
                         <row>
+                            <entry colname="col1">42Z09</entry>
+                            <entry colname="col2">Aggregates are not permitted in the MERGE matching clause.</entry>
+                        </row>
+                        <row>
                             <entry colname="col1">42Z15</entry>
                             <entry colname="col2">Invalid type specified for column '<varname>&lt;columnName&gt;</varname>'. The type of a column may not be changed.  </entry>
                         </row>
@@ -2155,6 +2171,10 @@ the corresponding text in messages.xml a
                             <entry colname="col2">A nullable column, '<varname>&lt;columnName&gt;</varname>', cannot be modified to have identity default.</entry>
                         </row>
                         <row>
+                            <entry colname="col1">42Z29</entry>
+                            <entry colname="col2">Column '<varname>&lt;columnName&gt;</varname>' is not an identity column, so its generation state cannot be changed. </entry>
+                        </row>
+                        <row>
                             <entry colname="col1">42Z50</entry>
                             <entry colname="col2">Internal Error: Unable to generate code for <varname>&lt;queryTreeNodeIdentifier&gt;</varname>.</entry>
                         </row>
@@ -3509,7 +3529,7 @@ ln=lower-case two-letter ISO-639 languag
                         </row>
                         <row>
                             <entry colname="col1">XIE0S</entry>
-                            <entry colname="col2">The export operation was not performed, because the specified output file (<varname>&lt;fileName&gt;</varname>) already exists. Export processing will not overwrite an existing file, even if the process has permissions to write to that file, due to security concerns, and to avoid accidental file damage. Please either change the output file name in the export procedure arguments to specify a file which does not exist, or delete the existing file, then retry the export operation.</entry>
+                            <entry colname="col2">The operation was not performed, because the specified output file (<varname>&lt;fileName&gt;</varname>) already exists. The procedure will not overwrite an existing file, even if the process has permissions to write to that file, due to security concerns, and to avoid accidental file damage. Please either change the output file name in the procedure arguments to specify a file which does not exist, or delete the existing file, then retry the operation.</entry>
                         </row>
                         <row>
                             <entry colname="col1">XIE0T</entry>