Package org.bytedeco.javacpp.annotation
Annotation Interface NoException
By default,
Generator
assumes all native functions may throw exceptions.
This way, any C++ exception thrown from a function gets caught and translated
into a RuntimeException
. However, this adds some overhead and requires
additional support from the compiler. Annotating a class or a method with this
annotation indicates that none of the enclosed functions can throw exceptions,
and need not be included in a try{ ... }
block.- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
On override, indicates whether to use the C++ noexcept specifier or not.
-
Element Details
-
value
boolean valueOn override, indicates whether to use the C++ noexcept specifier or not.- Default:
false
-