01: /*
02: * @(#) TimeOutException.java 1.0 02/08/01
03: */
04: package org.smartlib.pool.core;
05:
06: /**
07: * When a consumer is kept waiting for more than time specified in
08: * connection-wait-time-out in the configuration file, a
09: * TimeOutException is thrown. This class extends
10: * ConnectionPoolException.
11: *
12: * @author Sachin Shekar Shetty
13: * @version 1.0, 02/08/01
14: */
15:
16: public class TimeOutException extends ConnectionPoolException {
17:
18: public TimeOutException() {
19:
20: super ();
21:
22: }
23:
24: public TimeOutException(String msg) {
25:
26: super (msg);
27:
28: }
29:
30: public String toString() {
31:
32: return ("TimeOutException: " + message);
33:
34: }
35:
36: }
|