1 /*2 * @(#) TimeOutException.java 1.0 02/08/013 */4 package org.smartlib.pool.core;5 6 7 /**8 * When a consumer is kept waiting for more than time specified in9 * connection-wait-time-out in the configuration file, a10 * TimeOutException is thrown. This class extends11 * ConnectionPoolException.12 * 13 * @author Sachin Shekar Shetty 14 * @version 1.0, 02/08/0115 */16 17 public class TimeOutException extends ConnectionPoolException {18 19 public TimeOutException() {20 21 super(); 22 23 }24 25 public TimeOutException(String msg) {26 27 super(msg);28 29 }30 31 public String toString() {32 33 return ("TimeOutException: " + message);34 35 }36 37 }38