notaion throws exception in fun kotlin code example Example: kotlin throw exception throw Exception("Exception message")