1 7 8 package java.sql; 9 10 34 35 public class BatchUpdateException extends SQLException { 36 37 49 public BatchUpdateException( String reason, String SQLState, int vendorCode, 50 int[] updateCounts ) { 51 super(reason, SQLState, vendorCode); 52 this.updateCounts = updateCounts; 53 } 54 55 67 public BatchUpdateException(String reason, String SQLState, 68 int[] updateCounts) { 69 super(reason, SQLState); 70 this.updateCounts = updateCounts; 71 } 72 73 83 public BatchUpdateException(String reason, int[] updateCounts) { 84 super(reason); 85 this.updateCounts = updateCounts; 86 } 87 88 97 public BatchUpdateException(int[] updateCounts) { 98 super(); 99 this.updateCounts = updateCounts; 100 } 101 102 108 public BatchUpdateException() { 109 super(); 110 this.updateCounts = null; 111 } 112 113 143 public int[] getUpdateCounts() { 144 return updateCounts; 145 } 146 147 152 private int[] updateCounts; 153 } 154 | Popular Tags |