jdk/src/share/classes/java/sql/BatchUpdateException.java
changeset 21278 ef8a3a2a72f2
parent 15284 aa4ba8514e3d
child 23590 ffd8b0b70511
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   141    * <code>reason</code> and <code>updateCounts</code>.
   141    * <code>reason</code> and <code>updateCounts</code>.
   142    * The <code>cause</code> is not initialized, and may subsequently be
   142    * The <code>cause</code> is not initialized, and may subsequently be
   143    * initialized by a call to the
   143    * initialized by a call to the
   144    * {@link Throwable#initCause(java.lang.Throwable)} method.  The
   144    * {@link Throwable#initCause(java.lang.Throwable)} method.  The
   145    * <code>SQLState</code> is initialized to <code>null</code>
   145    * <code>SQLState</code> is initialized to <code>null</code>
   146    * and the vender code is initialized to 0.
   146    * and the vendor code is initialized to 0.
   147    * <p>
   147    * <p>
   148    * <strong>Note:</strong> There is no validation of {@code updateCounts} for
   148    * <strong>Note:</strong> There is no validation of {@code updateCounts} for
   149    * overflow and because of this it is recommended that you use the constructor
   149    * overflow and because of this it is recommended that you use the constructor
   150    * {@code BatchUpdateException(String reason, String SQLState,
   150    * {@code BatchUpdateException(String reason, String SQLState,
   151    * int vendorCode, long []updateCounts,Throwable cause) }.
   151    * int vendorCode, long []updateCounts,Throwable cause) }.