This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 188503
Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +22 lines)
Line  Link Here
0
-- C:\Documents and Settings\mkopka1\.netbeans\6.9\config\Templates\Classes\Exception.java
0
++ C:\Documents and Settings\mkopka1\.netbeans\6.9\config\Templates\Classes\Exception.bak.java
Lines 17-30 Link Here
17
     * Creates a new instance of <code>${name}</code> without detail message.
17
     * Creates a new instance of <code>${name}</code> without detail message.
18
     */
18
     */
19
    public ${name}() {
19
    public ${name}() {
20
        super();
20
    }
21
    }
21
22
22
23
    /**
23
    /**
24
     * Constructs an instance of <code>${name}</code> with the specified detail message.
24
     * Constructs an instance of <code>${name}</code> with the specified detail message.
25
     * @param msg the detail message.
25
     * @param message the detail message.
26
     */
26
     */
27
    public ${name}(String msg) {
27
    public ${name}(String message) {
28
        super(msg);
28
        super(message);
29
    }
29
    }
30
31
    /**
32
     * Constructs an instance of <code>${name}</code> with the specified root cause of this exception.
33
     * @param cause Throwable representing the root cause of this exception.
34
     */
35
    public ${name}(Throwable cause) {
36
        super(cause);
30
}
37
}
38
39
    /**
40
     * Constructs an instance of <code>${name}</code> with the specified detail message and root cause of this exception.
41
     * @param message the detail message.
42
     * @param cause Throwable representing the root cause of this exception.
43
     */
44
    public ${name}(String message, Throwable cause) {
45
        super(message, cause);
46
    }
47
}

Return to bug 188503