View Javadoc

1   /*
2    * This file is part of Domingo
3    * an Open Source Java-API to Lotus Notes/Domino
4    * hosted at http://domingo.sourceforge.net
5    *
6    * Copyright (c) 2003-2007 Beck et al. projects GmbH Munich, Germany (http://www.bea.de)
7    *
8    * This library is free software; you can redistribute it and/or
9    * modify it under the terms of the GNU Lesser General Public
10   * License as published by the Free Software Foundation; either
11   * version 2.1 of the License, or (at your option) any later version.
12   *
13   * This library is distributed in the hope that it will be useful,
14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16   * Lesser General Public License for more details.
17   *
18   * You should have received a copy of the GNU Lesser General Public
19   * License along with this library; if not, write to the Free Software
20   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21   */
22  
23  package de.bea.domingo.proxy;
24  
25  import de.bea.domingo.DNotesRuntimeException;
26  import de.bea.domingo.exception.DominoException;
27  
28  /***
29   * Class from which all runtime exceptions in this package inherit.
30   * Allows recording of nested exceptions.
31   *
32   * @author <a href="mailto:kriede@users.sourceforge.net">Kurt Riede</a>
33   */
34  public final class NotesProxyRuntimeException extends DNotesRuntimeException {
35  
36      /*** serial version ID for serialization. */
37      private static final long serialVersionUID = 3256727294654428981L;
38  
39      /***
40       * Construct a new <code>NotesProxyRuntimeException</code> instance.
41       *
42       * @param message The detail message for this exception.
43       */
44      public NotesProxyRuntimeException(final String message) {
45          super(message);
46      }
47  
48      /***
49       * Construct a new <code>NotesProxyRuntimeException</code> instance.
50       *
51       * @param throwable the root cause of the exception
52       */
53      public NotesProxyRuntimeException(final DominoException throwable) {
54          super(throwable);
55      }
56  
57      /***
58       * Construct a new <code>NotesProxyRuntimeException</code> instance.
59       *
60       * @param message The detail message for this exception.
61       * @param throwable the root cause of the exception
62       */
63      public NotesProxyRuntimeException(final String message, final Throwable throwable) {
64          super(message, throwable);
65      }
66  }