fun fun1(id: String)
{
addThings(3,4)
}
fun addThings(num1: Int, num2: Int)
{
addNumbers(num1, num2)
}
@Throws(Exception::class)
fun addNumbers(num1: Int, num2: Int)
{
throws Exception("error")
}
ExcptionfromaddNumberswill bubble up all the way tofun1is that right?- Is
@Throwsrequired foraddThingsandfun1?
Couldn't find any docs online...