View Javadoc

1   /*
2    * Copyright (c) 2004 UNINETT FAS
3    *
4    * This program is free software; you can redistribute it and/or modify it
5    * under the terms of the GNU General Public License as published by the Free
6    * Software Foundation; either version 2 of the License, or (at your option)
7    * any later version.
8    *
9    * This program is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11   * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12   * more details.
13   *
14   * You should have received a copy of the GNU General Public License along with
15   * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16   * Place - Suite 330, Boston, MA 02111-1307, USA.
17   *
18   * $Id: EvictionConfigurationException.java,v 1.4 2004/12/17 12:55:47 jk Exp $
19   */
20  
21  package no.feide.moria.store;
22  
23  /***
24   * Used to signal an exception regarding eviction policy configuration.
25   *
26   * @author Bjørn Ola Smievoll <b.o.smievoll@conduct.no>
27   * @version $Revision: 1.4 $
28   */
29  public class EvictionConfigurationException extends RuntimeException {
30  
31      /***
32       * Constructor. Creates a new exception with only an exception message.
33       * @param message
34       *            The exception message.
35       */
36      public EvictionConfigurationException(final String message) {
37          super(message);
38      }
39  
40      /***
41       * Constructor. Creates a new exception with only a cause.
42       * @param cause
43       *            The exception cause.
44       */
45      public EvictionConfigurationException(final Throwable cause) {
46          super(cause);
47      }
48  
49      /***
50       * Constructor. Creates a new exception with both an exception message and a
51       * cause.
52       * @param message
53       *            The exception message.
54       * @param cause
55       *            The exception cause.
56       */
57      public EvictionConfigurationException(final String message, final Throwable cause) {
58          super(message, cause);
59      }
60  }