org.osgi.framework.BundleContext has javadoc containing many @throws tags.  
however most of the interfaces are missing the corresponding throw clauses.

the fact that some of the function interfaces have some (but in some cases not 
all) such thrown exceptions identified indicates that there probably is not a 
policy governing this.

having all throws clauses included could help identify at compile time 
instances in callers that either need to handle or need to report they will 
throw these exceptions.

find attached a simple patch that creates "throws" clauses from all "@throws" 
tags found in BundleContext.

++ kirk beitz : nokia : austin + san diego : 
[email protected]<mailto:[email protected]> ++


Attachment: BundleContext.throws.patch
Description: BundleContext.throws.patch


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to