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.
Summary: | Unable to manually handle ExecutionException from all methods in ProgressUtils except showProgressDialogAndRunLater | ||
---|---|---|---|
Product: | platform | Reporter: | SirIntellegence |
Component: | Progress | Assignee: | Jan Peska <JPESKA> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
SirIntellegence
2014-10-02 20:08:25 UTC
i am afraid that would be an incompatible change, though i understand your request and that in this case the API is not very friendly. You could have the default implementation just wrap the original with the annotations on it without throwing anything. Like: public abstract Foo bar(Baz bazen); public Foo newBar(Baz bazen) throws ExecutionException, CancellationException{ return bar(bazen); } |