KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > lock > TimeoutException


1 // $Id: TimeoutException.java,v 1.4 2006/02/23 03:31:13 bstansberry Exp $
2

3 /*
4  * JBoss, the OpenSource J2EE webOS
5  *
6  * Distributable under LGPL license.
7  * See terms of license at gnu.org.
8  */

9
10 package org.jboss.cache.lock;
11
12 import org.jboss.cache.CacheException;
13
14
15 /**
16  * Thrown when a timeout occurred. used by operations with timeouts, e.g. lock
17  * acquisition, or waiting for responses from all members.
18  * @author <a HREF="mailto:bela@jboss.org">Bela Ban</a>.
19  * @version $Revision: 1.4 $
20  * <p/>
21  * <p><b>Revisions:</b>
22  * <p/>
23  * <p>Dec 28 2002 Bela Ban: first implementation
24  */

25 public class TimeoutException extends CacheException {
26
27    /** The serialVersionUID */
28    private static final long serialVersionUID = -8096787619908687038L;
29
30    public TimeoutException() {
31       super();
32    }
33
34    public TimeoutException(String JavaDoc msg) {
35       super(msg);
36    }
37
38    public TimeoutException(String JavaDoc msg, Throwable JavaDoc cause) {
39       super(msg, cause);
40    }
41
42    public String JavaDoc toString() {
43       return super.toString();
44    }
45 }
46
Popular Tags