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.

Bug 2574 - Connection Wizard doesn`t handle exceptions
Summary: Connection Wizard doesn`t handle exceptions
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-19 23:41 UTC by Jan Palka
Modified: 2003-06-30 18:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Palka 1999-07-19 23:41:05 UTC
I have used Connection Wizard to set a property of a component accoring to method a call.  The method threw a RemoteException.  The code but looked like:



jTextField1.setText (unicastImpl_Stub1.getLocal ());

and compiler spat out an error.


the right code should look like:
 try {
    jTextField1.setText (unicastImpl_Stub1.getLocal ());
  }
  catch (RemoteException e) {
  }
Comment 1 Marek Grummich 2000-07-25 09:10:59 UTC
Priority is changed to P4 (normal).
Comment 2 Tomas Pavek 2000-08-11 08:52:59 UTC
This must have been already fixed some time ago - handling code for exception
is generated for both method and its parameters (as methods).
Comment 3 Marian Mirilovic 2001-01-15 17:51:59 UTC
verified in [nb31](34)
Comment 4 pgodeau 2002-06-14 13:52:25 UTC
I reopen this bug because it still happens in NB 3.3.1 and 3.3.2.
IMO priority should be greater than P4 because it is a blocking
situation, the generated code is in guarded block and we can't
change it.
Comment 5 Tomas Pavek 2002-06-14 14:13:02 UTC
I don't understand. Connection Wizard does not generate 
guarded code. You must mean something else. Please provide 
more details, or file another issue report.
Comment 6 Quality Engineering 2003-06-30 18:20:59 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2003-06-30 18:27:28 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.