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