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.
Now ConnectionManager.connectTo throws CancellationException, which is runtime exception, i.e. it isn't obligatory to catch it. I noticed it when investigating CND && SolStudio code: there are places where it isn't catched at all. This is incorrect. Should be replaced by an exception of our own so that clients should necessarily catch it.
Fixed http://hg.netbeans.org/releases/rev/3ad695ea3a04 I found more than 10 places in cnd & dlight that did not catch CancellationException. In each such place I added a primitive processing and a comment // TODO:CancellationException error processing These places should be inspected once more.
Integrated into 'main-golden', will be available in build *201106070601* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log: