1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.portals.graffito.jcr.exception;
17
18
19 /***
20 * Occurs when it is not possible to manage the JCR repository (register, login, ...)
21 *
22 * @author <a href="mailto:christophe.lombart@sword-technologies.com">Christophe Lombart</a>
23 * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
24 */
25 public class RepositoryException extends NestableRuntimeException {
26 /*** Use serialVersionUID for interoperability. */
27 private final static long serialVersionUID = 910346108378604638L;
28
29 /***
30 * No-arg constructor used by markup exceptions.
31 */
32 protected RepositoryException() {
33 }
34
35 /***
36 * Constructor with message.
37 *
38 * @param message the message associated to the exception
39 */
40 public RepositoryException(String message) {
41 super(message);
42 }
43
44 /***
45 * Constructor with throwable object.
46 *
47 * @param nested the associated throwable object
48 */
49 public RepositoryException(Throwable nested) {
50 super(nested);
51 }
52
53 /***
54 * Constructor with message and throwable object.
55 *
56 * @param message the message associated to the exception
57 * @param nested the associated throwable object
58 */
59 public RepositoryException(String message, Throwable nested) {
60 super(message, nested);
61 }
62
63 }