Kotlin throws
snippet in kotlin

Kotlin throws

user7959

@Throws(SomeException::class)
fun raise() {
	throw SomeException("Mwehp!")
}