1 7 package java.sql; 8 9 import java.util.Map ; 10 11 30 public class SQLClientInfoException extends SQLException { 31 32 33 34 35 private Map <String , ClientInfoStatus > failedProperties; 36 37 49 public SQLClientInfoException() { 50 51 this.failedProperties = null; 52 } 53 54 74 public SQLClientInfoException(Map <String , ClientInfoStatus > failedProperties) { 75 76 this.failedProperties = failedProperties; 77 } 78 79 100 public SQLClientInfoException(Map <String , ClientInfoStatus > failedProperties, 101 Throwable cause) { 102 103 super(cause != null?cause.toString():null); 104 initCause(cause); 105 this.failedProperties = failedProperties; 106 } 107 108 129 public SQLClientInfoException(String reason, 130 Map <String , ClientInfoStatus > failedProperties) { 131 132 super(reason); 133 this.failedProperties = failedProperties; 134 } 135 136 156 public SQLClientInfoException(String reason, 157 Map <String , ClientInfoStatus > failedProperties, 158 Throwable cause) { 159 160 super(reason); 161 initCause(cause); 162 this.failedProperties = failedProperties; 163 } 164 165 186 public SQLClientInfoException(String reason, 187 String SQLState, 188 Map <String , ClientInfoStatus > failedProperties) { 189 190 super(reason, SQLState); 191 this.failedProperties = failedProperties; 192 } 193 194 213 public SQLClientInfoException(String reason, 214 String SQLState, 215 Map <String , ClientInfoStatus > failedProperties, 216 Throwable cause) { 217 218 super(reason, SQLState); 219 initCause(cause); 220 this.failedProperties = failedProperties; 221 } 222 223 244 public SQLClientInfoException(String reason, 245 String SQLState, 246 int vendorCode, 247 Map <String , ClientInfoStatus > failedProperties) { 248 249 super(reason, SQLState, vendorCode); 250 this.failedProperties = failedProperties; 251 } 252 253 274 public SQLClientInfoException(String reason, 275 String SQLState, 276 int vendorCode, 277 Map <String , ClientInfoStatus > failedProperties, 278 Throwable cause) { 279 280 super(reason, SQLState, vendorCode); 281 initCause(cause); 282 this.failedProperties = failedProperties; 283 } 284 285 297 public Map <String , ClientInfoStatus > getFailedProperties() { 298 299 return this.failedProperties; 300 } 301 302 private static final long serialVersionUID = -4319604256824655880L; 303 } 304 | Popular Tags |