how use as in kotlin without throw exception code example Example: kotlin throw exception throw Exception("Exception message")