>>> throw Exception("hi there") java.lang.Exception: hi there >>> fun foo() = 2 >>> foo() 2 >>> fun bar(): Nothing = throw AssertionError() >>> bar() java.lang.AssertionError at Line_3.bar(Line_3.kts:1)