1 19 20 package org.apache.avalon.excalibur.datasource.cluster; 21 22 import java.sql.Connection ; 23 import java.sql.SQLException ; 24 25 import org.apache.avalon.excalibur.datasource.NoValidConnectionException; 26 27 121 public class DefaultIndexedDataSourceCluster 122 extends AbstractDataSourceCluster 123 implements IndexedDataSourceCluster 124 { 125 126 129 public DefaultIndexedDataSourceCluster() 130 { 131 } 132 133 136 139 public Connection getConnection() throws SQLException 140 { 141 throw new NoValidConnectionException( 142 "getConnection() should not be called for a " + getClass().getName() + ". " + 143 "Please verify your configuration." ); 144 } 145 146 149 152 } 155 156 | Popular Tags |