Annotation Interface JythonThrows
Provides meta-information about exceptions that a function exposed to Jython may throw.
Has no actual semantics to the rest of the system! This is purely an information annotation to help
PropertiesFileDocProvider
.
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] valueFully qualified names of any exceptions the function may throw that can't be added to its explicit throws clause. These exceptions will be added to the documentation for the function, and should have a description added in the properties file.For example,
@JythonThrows({"ValueError", "TypeError", "java.lang.IllegalArgumentException"})
-
-
-
ignored
String[] ignoredAny exceptions that should be ignored when generating documentation for this function.- Default:
- {}
-