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 used by PropertiesFileDocProvider to generate documentation for the Designer's
script editor.
- 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. Descriptions for these exceptions should be added to the properties file using the$function.throws.$Exceptionkey.For example,
@JythonThrows({"ValueError", "TypeError", "java.lang.IllegalArgumentException"})
-
-
-
ignored
String[] ignoredAny exceptions that should be ignored when generating documentation for this function.- Default:
- {}
-