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.
This is something I do on a fairly regular basis. I would like to sugest adding the following constructor to the JavaException template used in Netbeans to create a new exception. [code] public <Exception Name Here>(String msg, Throwable inner) { super(msg, inner); } [/code] This constructor enables the new exception to repackage another exception to re-throw it. Right now I just add it to all exceptions that I make but it would be convientient if it was added to the default templates with Netbeans.
Reassigning to Honza.
Use Menu/Tools/Template Manager to customize your Java Exception template.