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 read information on version or manage versions
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 VersionException extends RepositoryException {
26
27 /*** Use serialVersionUID for interoperability. */
28 private final static long serialVersionUID = -7727568152521484252L;
29
30 /***
31 * Constructor with message.
32 *
33 * @param message the message associated to the exception
34 */
35 public VersionException(String message) {
36 super(message);
37 }
38
39 /***
40 * Constructor with throwable object.
41 *
42 * @param nested the associated throwable object
43 */
44 public VersionException(Throwable nested) {
45 super(nested);
46 }
47
48 /***
49 * Constructor with message and throwable object.
50 *
51 * @param message the message associated to the exception
52 * @param nested the associated throwable object
53 */
54 public VersionException(String message, Throwable nested) {
55 super(message, nested);
56 }
57
58 }