|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
CacheException.java | - | 50% | 50% | 50% |
|
1 | // $Id: CacheException.java,v 1.6 2007/01/19 14:47:40 msurtani 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; | |
11 | ||
12 | /** | |
13 | * Thrown when operations on {@link org.jboss.cache.Cache} or {@link org.jboss.cache.Node} fail unexpectedly. | |
14 | * <p/> | |
15 | * Specific subclasses such as {@link org.jboss.cache.lock.TimeoutException}, {@link org.jboss.cache.config.ConfigurationException} and {@link org.jboss.cache.lock.LockingException} | |
16 | * have more specific uses. | |
17 | * | |
18 | * @author <a href="mailto:bela@jboss.org">Bela Ban</a> | |
19 | * @author <a href="mailto:manik@jboss.org">Manik Surtani</a> | |
20 | */ | |
21 | public class CacheException extends RuntimeException | |
22 | { | |
23 | ||
24 | private static final long serialVersionUID = -4386393072593859164L; | |
25 | ||
26 | 0 | public CacheException() |
27 | { | |
28 | 0 | super(); |
29 | } | |
30 | ||
31 | 0 | public CacheException(Throwable cause) |
32 | { | |
33 | 0 | super(cause); |
34 | } | |
35 | ||
36 | 387 | public CacheException(String msg) |
37 | { | |
38 | 387 | super(msg); |
39 | } | |
40 | ||
41 | 124 | public CacheException(String msg, Throwable cause) |
42 | { | |
43 | 124 | super(msg, cause); |
44 | } | |
45 | } |
|