01: /*
02: * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
03: */
04: package javax.jcr;
05:
06: /**
07: * Exception thrown when no <code>Item</code> exists at the specified path
08: * or when the specified path implies intermediary <code>Node</code>s that do
09: * not exist.
10: */
11: public class PathNotFoundException extends RepositoryException {
12: /**
13: * Constructs a new instance of this class with <code>null</code> as its
14: * detail message.
15: */
16: public PathNotFoundException() {
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 PathNotFoundException(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 PathNotFoundException(String message, Throwable rootCause) {
40: super (message, rootCause);
41: }
42:
43: /**
44: * Constructs a new instance of this class with the specified root cause.
45: *
46: * @param rootCause root failure cause
47: */
48: public PathNotFoundException(Throwable rootCause) {
49: super(rootCause);
50: }
51: }
|