src/java.sql/share/classes/java/sql/BatchUpdateException.java
changeset 51181 01b8120f867a
parent 47216 71c04702a3d5
equal deleted inserted replaced
51180:b7eb9cc56277 51181:01b8120f867a
   551     /**
   551     /**
   552      * writeObject is called to save the state of the {@code BatchUpdateException}
   552      * writeObject is called to save the state of the {@code BatchUpdateException}
   553      * to a stream.
   553      * to a stream.
   554      */
   554      */
   555     private void writeObject(ObjectOutputStream s)
   555     private void writeObject(ObjectOutputStream s)
   556             throws IOException, ClassNotFoundException {
   556             throws IOException {
   557 
   557 
   558         ObjectOutputStream.PutField fields = s.putFields();
   558         ObjectOutputStream.PutField fields = s.putFields();
   559         fields.put("updateCounts", updateCounts);
   559         fields.put("updateCounts", updateCounts);
   560         fields.put("longUpdateCounts", longUpdateCounts);
   560         fields.put("longUpdateCounts", longUpdateCounts);
   561         s.writeFields();
   561         s.writeFields();