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 *
21 * Base class of all runtime exceptions used in the JCR mapping.
22 *
23 * @author <a href="mailto:christophe.lombart@sword-technologies.com">Christophe Lombart</a>
24 * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
25 */
26
27 public class JcrMappingException extends NestableRuntimeException {
28
29 /*** Use serialVersionUID for interoperability. */
30 private final static long serialVersionUID = -5237713309666840905L;
31
32 /***
33 * Constructor with message.
34 *
35 * @param message the message associated to the exception
36 */
37 public JcrMappingException(String message) {
38 super(message);
39 }
40
41 /***
42 * Constructor with throwable object.
43 *
44 * @param nested the associated throwable object
45 */
46 public JcrMappingException(Throwable nested) {
47 super(nested);
48 }
49
50 /***
51 * Constructor with message and throwable object.
52 *
53 * @param message the message associated to the exception
54 * @param nested the associated throwable object
55 */
56 public JcrMappingException(String message, Throwable nested) {
57 super(message, nested);
58 }
59 }