01: /**
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */package com.tc.util;
04:
05: import com.tc.exception.TCException;
06:
07: /**
08: * An exception thrown when an operation times out. Feel free to subclass
09: *
10: * @author teck
11: */
12: public class TCTimeoutException extends TCException {
13:
14: public TCTimeoutException(long timeout) {
15: this ("Timeout of " + timeout + " occurred");
16: }
17:
18: public TCTimeoutException(String string) {
19: super (string);
20: }
21:
22: public TCTimeoutException(Throwable cause) {
23: super (cause);
24: }
25:
26: public TCTimeoutException(String reason, Throwable cause) {
27: super(reason, cause);
28: }
29: }
|