You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by bl...@apache.org on 2001/11/02 19:58:45 UTC
cvs commit: jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/datasource DataSourceComponent.java
bloritsch 01/11/02 10:58:45
Modified: src/java/org/apache/avalon/excalibur/datasource
DataSourceComponent.java
Log:
Add throws clauses
Revision Changes Path
1.3 +7 -1 jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/datasource/DataSourceComponent.java
Index: DataSourceComponent.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/datasource/DataSourceComponent.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DataSourceComponent.java 2001/08/07 10:57:07 1.2
+++ DataSourceComponent.java 2001/11/02 18:58:45 1.3
@@ -17,7 +17,7 @@
* The standard interface for DataSources in Avalon.
*
* @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
- * @version CVS $Revision: 1.2 $ $Date: 2001/08/07 10:57:07 $
+ * @version CVS $Revision: 1.3 $ $Date: 2001/11/02 18:58:45 $
* @since 4.0
*/
public interface DataSourceComponent
@@ -30,6 +30,12 @@
/**
* Gets the Connection to the database
+ *
+ * @throws NoValidConnectionException when there is no valid Connection wrapper
+ * available in the classloader.
+ *
+ * @throws NoAvailableConnectionException when there are no more available
+ * Connections in the pool.
*/
Connection getConnection()
throws SQLException;
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>