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 have an ProcessBuilder (from extexecution backed by NativeProcessBuilder) which has not been connected before. I'd like to initiate the interaction with user to connect to it using stable public APIs. My idea is to reuse UserQuestionException.
Created attachment 123936 [details] Proposed patch The expected usage would be: AGAIN: for (;;) { try { builder.call(); } catch (UserQuestionException ex) { ex.confirm(); // shows a dialog, usually continue AGAIN; } break; }
I'm not going to comment the necessity of using the exception as I have no domain knowledge MK1: apichanges? MK2: should be documented to throw UserQuestionException
Re. MK01, I want to add API changes, but there are none for this module! Maybe I could put the change into extexecution API and Javadoc (for MK02) as at the end, that is the API I am using.
Created attachment 124584 [details] I've documented the change in extexecution API I'd like to integrate on Friday, Sep 21, 2012.
ergonomics#3ef8055d88f4
Integrated into 'main-golden', will be available in build *201210010929* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/3ef8055d88f4 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #217874: Use UserQuestionException when the remotefs is not connected