Question : Kotlin throws
Answered by : promofo
@Throws(SomeException::class)
fun raise() { throw SomeException("Mwehp!")
}
Source : | Last Update : Sun, 17 May 20
Question : kotlin throw exception
Answered by : promofo
throw Exception("Exception message")
Source : | Last Update : Sat, 16 May 20