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.
- On an operation element, add IOException to its Raised Exceptions property. - Generate Code - The operation will have the "throws IOException" added but it won't compile because the import for IOException is not generated.
low use case not currently impacting our installed user base.
adding of fully qualified java.io.IOException to the Raised Exceptions property would make generated code correct. Automated resolving of IOException into something like java.io.IOException would mean searching through the class path like for example Java Editor for import fixing. It would require some notion of classpath config to be associated with the UML project (or more specifically it may be a configuration item for a codegen engine that is being used, supposing that we'll have more than one pluggable/configurable codegen engine(s))