01: /*
02: * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
03: */
04: package javax.jcr;
05:
06: /**
07: * Exception thrown by Lifecycle management-related methods.
08: *
09: * @since JCR 2.0
10: */
11: public class InvalidLifecycleTransitionException extends
12: RepositoryException {
13: /**
14: * Constructs a new instance of this class with <code>null</code> as its
15: * detail message.
16: */
17: public InvalidLifecycleTransitionException() {
18: super ();
19: }
20:
21: /**
22: * Constructs a new instance of this class with the specified detail
23: * message.
24: *
25: * @param message the detail message. The detail message is saved for
26: * later retrieval by the {@link #getMessage()} method.
27: */
28: public InvalidLifecycleTransitionException(String message) {
29: super (message);
30: }
31:
32: /**
33: * Constructs a new instance of this class with the specified detail
34: * message and root cause.
35: *
36: * @param message the detail message. The detail message is saved for
37: * later retrieval by the {@link #getMessage()} method.
38: * @param rootCause root failure cause
39: */
40: public InvalidLifecycleTransitionException(String message,
41: Throwable rootCause) {
42: super (message, rootCause);
43: }
44:
45: /**
46: * Constructs a new instance of this class with the specified root cause.
47: *
48: * @param rootCause root failure cause
49: */
50: public InvalidLifecycleTransitionException(Throwable rootCause) {
51: super(rootCause);
52: }
53: }
|