01: package com.sun.portal.fabric.util;
02:
03: public class XMLJdomFileCreationException extends Exception {
04: /**
05: * Constructs a new psconfig.xml file creation exception with
06: * <code>null</code> as its detail message. The cause is not
07: * initialized, and may subsequently be initialized by a call
08: * to {@link #initCause}.
09: */
10: public XMLJdomFileCreationException() {
11: super ();
12: }
13:
14: /**
15: * Constructs a new psconfig.xml file creation exception with
16: * the specified detail message. The cause is not initialized,
17: * and may subsequently be initialized by a call
18: * to{@link #initCause}.
19: *
20: * @param message the detail message. The detail message is
21: * saved for later retrieval by the {@link
22: * #getMessage()} method.
23: */
24: public XMLJdomFileCreationException(String message) {
25: super (message);
26: }
27:
28: /**
29: * Constructs a new psconfig.xml file creation exception with
30: * the specified detail message and cause. <p>Note that the
31: * detailed message associated with <code>cause</code> is
32: * <i>not</i> automatically incorporated in this exception's
33: * detail message.
34: *
35: * @param message the detail message (which is saved for later
36: * retrieval by the {@link #getMessage()} method).
37: * @param cause the cause (which is saved for later retrieval by
38: * the {@link #getCause()} method). (A
39: * <tt>null</tt> value is permitted, and indicates
40: * that the cause is nonexistent or unknown.)
41: */
42: public XMLJdomFileCreationException(String message, Throwable cause) {
43: super (message, cause);
44: }
45:
46: /**
47: * Constructs a new psconfig.xml file creation exception with
48: * the specified cause and a detail message of
49: * <tt>((cause == null) ? null : cause.toString())</tt> (which
50: * typically contains the class and detail message of
51: * <tt>cause</tt>).
52: *
53: * @param cause the cause (which is saved for later retrieval by
54: * the {@link #getCause()} method). (A
55: * <tt>null</tt> value is permitted, and indicates
56: * that the cause is nonexistent or unknown.)
57: */
58: public XMLJdomFileCreationException(Throwable cause) {
59: super(cause);
60: }
61: }
|