kotlin throws exception annotation code example Example: Kotlin throws @Throws(SomeException::class) fun raise() { throw SomeException("Mwehp!") }