try { // some code } catch (e: SomeException) { // handler } finally { // optional finally block }
throw Exception("Exception message")