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 */
19
20 package no.feide.moria.directory.backend;
21
22 /***
23 * Represents an exception originating form the directory manager's backend.
24 */
25 public class BackendException
26 extends Exception {
27
28 /***
29 * Serial version UID.
30 */
31 private static final long serialVersionUID = -671305694308654063L;
32
33
34 /***
35 * Basic constructor.
36 * @param message
37 * The exception message.
38 */
39 public BackendException(final String message) {
40
41 super(message);
42
43 }
44
45
46 /***
47 * Constructor.
48 * @param message
49 * The exception message.
50 * @param cause
51 * The exception cause.
52 */
53 public BackendException(final String message, final Throwable cause) {
54
55 super(message, cause);
56
57 }
58
59 }