KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > util > TCTimeoutException


1 /**
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.util;
5
6 import com.tc.exception.TCException;
7
8 /**
9  * An exception thrown when an operation times out. Feel free to subclass
10  *
11  * @author teck
12  */

13 public class TCTimeoutException extends TCException {
14
15   public TCTimeoutException(long timeout) {
16     this("Timeout of " + timeout + " occurred");
17   }
18
19   public TCTimeoutException(String JavaDoc string) {
20     super(string);
21   }
22
23   public TCTimeoutException(Throwable JavaDoc cause) {
24     super(cause);
25   }
26   
27   public TCTimeoutException(String JavaDoc reason, Throwable JavaDoc cause) {
28     super(reason, cause);
29   }
30 }
Popular Tags