<init>
This annotation indicates what exceptions should be declared by a function when compiled to a platform method.
When compiling to Objective-C/Swift framework, methods having or inheriting this annotation are represented as
NSError*
-producing methods in Objective-C and as throws
methods in Swift.
When such a method called through framework API throws an exception, it is either propagated as
NSError
or considered unhandled (if exception is
kotlin.Error or kotlin.RuntimeException).
In any case exception is not checked to be instance of one of the exceptionClasses.