1 22 23 package org.jboss.resource.adapter.jdbc; 24 25 import java.sql.SQLException ; 26 27 33 public class StaleConnectionException extends SQLException 34 { 35 36 37 private static final long serialVersionUID = -2789276182969659546L; 38 39 public StaleConnectionException(SQLException e) 40 { 41 super(e.getMessage(), e.getSQLState(), e.getErrorCode()); 42 43 } 44 45 public StaleConnectionException() 46 { 47 super(); 48 } 49 50 public StaleConnectionException(String reason, String SQLState, int vendorCode) 51 { 52 super(reason, SQLState, vendorCode); 53 } 54 55 public StaleConnectionException(String reason, String SQLState) 56 { 57 super(reason, SQLState); 58 } 59 60 public StaleConnectionException(String reason) 61 { 62 super(reason); 63 64 } 65 66 } 67 | Popular Tags |