01: package javax.jcr.security;
02:
03: import javax.jcr.RepositoryException;
04:
05: /**
06: * Exception thrown by
07: * {@link AccessControlManager#removeAccessControlEntry}.
08: *
09: * @since JCR 2.0
10: */
11: public class AccessControlEntryNotFoundException extends
12: RepositoryException {
13: /**
14: * Constructs a new instance of this class with <code>null</code> as its
15: * detail message.
16: */
17: public AccessControlEntryNotFoundException() {
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 AccessControlEntryNotFoundException(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 AccessControlEntryNotFoundException(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 AccessControlEntryNotFoundException(Throwable rootCause) {
51: super(rootCause);
52: }
53: }
|