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.
Product Version: NetBeans IDE Dev (Build 201307022300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Steps to reproduce: Create new web project with J2EE7 support Create new WebSocket Server Endpoint class Click on refactoring lamp icon on class declaration line and select Add @OnError method... IDE produces next code: @OnError public void onError() { } but javdoc says that method need to have mandatory Throwable parameter so on deploy module throws server exception: javax.websocket.DeploymentException: Method: socket.NewWSEndpoint.onError: does not have mandatory Throwable param.
Good point! Thanks. 2b27b5d2e448