|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
TimeoutException.java | - | 75% | 75% | 75% |
|
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 | 0 | public TimeoutException() { |
31 | 0 | super(); |
32 | } | |
33 | ||
34 | 97 | public TimeoutException(String msg) { |
35 | 97 | super(msg); |
36 | } | |
37 | ||
38 | 77 | public TimeoutException(String msg, Throwable cause) { |
39 | 77 | super(msg, cause); |
40 | } | |
41 | ||
42 | 213 | public String toString() { |
43 | 213 | return super.toString(); |
44 | } | |
45 | } |
|