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