KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > smartlib > pool > core > TimeOutException


1 /*
2  * @(#) TimeOutException.java 1.0 02/08/01
3  */

4 package org.smartlib.pool.core;
5
6
7 /**
8  * When a consumer is kept waiting for more than time specified in
9  * connection-wait-time-out in the configuration file, a
10  * TimeOutException is thrown. This class extends
11  * ConnectionPoolException.
12  *
13  * @author Sachin Shekar Shetty
14  * @version 1.0, 02/08/01
15  */

16
17 public class TimeOutException extends ConnectionPoolException {
18     
19   public TimeOutException() {
20       
21       super();
22
23   }
24
25   public TimeOutException(String JavaDoc msg) {
26       
27       super(msg);
28
29   }
30
31   public String JavaDoc toString() {
32
33     return ("TimeOutException: " + message);
34       
35   }
36       
37 }
38
Popular Tags