1 7 8 package javax.sql.rowset; 9 10 import java.sql.SQLException ; 11 12 36 public class RowSetWarning extends SQLException { 37 38 41 private RowSetWarning rwarning; 42 43 53 public RowSetWarning(String reason) { 54 super(reason); 55 } 56 57 62 public RowSetWarning() { 63 super(); 64 } 65 66 79 public RowSetWarning(java.lang.String reason, java.lang.String SQLState) { 80 super(reason, SQLState); 81 } 82 83 97 public RowSetWarning(java.lang.String reason, java.lang.String SQLState, int vendorCode) { 98 super(reason, SQLState, vendorCode); 99 } 100 101 110 public RowSetWarning getNextWarning() { 111 return rwarning; 112 } 113 114 123 public void setNextWarning(RowSetWarning warning) { 124 rwarning = warning; 125 } 126 127 static final long serialVersionUID = 6678332766434564774L; 128 } 129 | Popular Tags |