poohbar
12/06/2020, 4:19 PMException
or RuntimeException
in Kotlin? I thought it doesn't but my Exception
extension is getting wrapped in UndeclaredThrowableException
when interacting with a Java library.Vampire
12/06/2020, 6:07 PM@Throws
annotationTobias Berger
12/07/2020, 8:51 AM@Throws(MyException::class)
as suggested by @Vampire (equivalent of adding throws MyException
to the end of a method signature in Java)spand
12/07/2020, 9:18 AMTobias Berger
12/07/2020, 9:24 AM