View Javadoc

1   /***
2    *  Copyright 2003-2010 Terracotta, Inc.
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   */
16  
17  
18  package net.sf.ehcache;
19  
20  /***
21   * A loader timeout Exception.
22   *
23   * @author Ludovic Orban
24   * @version $Id: LoaderTimeoutException.html 13146 2011-08-01 17:12:39Z oletizi $
25   *
26   */
27  public class LoaderTimeoutException extends CacheException {
28  
29  
30      /***
31       * Constructor for the LoaderTimeoutException object.
32       */
33      public LoaderTimeoutException() {
34          super();
35      }
36  
37      /***
38       * Constructor for the LoaderTimeoutException object.
39       * @param message the exception detail message
40       */
41      public LoaderTimeoutException(String message) {
42          super(message);
43      }
44  
45  
46  
47      /***
48       * Constructs a new LoaderTimeoutException with the specified detail message and
49       * cause.  <p>Note that the detail message associated with
50       * <code>cause</code> is <i>not</i> automatically incorporated in
51       * this runtime exception's detail message.
52       *
53       * @param  message the detail message (which is saved for later retrieval
54       *         by the {@link #getMessage()} method).
55       * @param  cause the cause (which is saved for later retrieval by the
56       *         {@link #getCause()} method).  (A <tt>null</tt> value is
57       *         permitted, and indicates that the cause is nonexistent or
58       *         unknown.)
59       * @since  1.2.4
60       */
61      public LoaderTimeoutException(String message, Throwable cause) {
62          super(message, cause);
63      }
64  
65      /*** Constructs a new LoaderTimeoutException with the specified cause and a
66       * detail message of <tt>(cause==null ? null : cause.toString())</tt>
67       * (which typically contains the class and detail message of
68       * <tt>cause</tt>).  This constructor is useful for runtime exceptions
69       * that are little more than wrappers for other throwables.
70       *
71       * @param  cause the cause (which is saved for later retrieval by the
72       *         {@link #getCause()} method).  (A <tt>null</tt> value is
73       *         permitted, and indicates that the cause is nonexistent or
74       *         unknown.)
75       * @since  1.2.4
76       */
77      public LoaderTimeoutException(Throwable cause) {
78          super(cause);
79      }
80  
81  }