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.
I need to change the standard exception dialog that appears (I want to add branding/make it more user friendly/add a button to email error). According to issue 35067 this is possible be changing the DialogDisplayer <quote> [low] allow addon modules to change how errors are reported - if there is a nice dialog with error message and OK button, should it be possible for the modules to replace it and display something else? This is possible by replacing the DialogDisplayer in lookup by own implementation. </quote> I challenge someone to actually practically do this - and give me an example how. I've gone down this route and don't see this as being possible - basically I'd end up having to replace the whole of the NBDialog system. What I really want to be able to do is to plug in my own version of NotifyDescriptor - so I can design how I want these standard dialogs to look.
You need to create a register your own java.util.logging.Handler and suppress the default NetBeans one. Then you can report exceptions in any way you want.