Kotlin assert does not throw code example Example: kotlin throw exception throw Exception("Exception message")