nanodeath
12/22/2020, 1:22 AMIllegalArgumentException
always auto-completing to java.lang.IllegalArgumentException
instead of the Kotlin stdlib typealias? same goes for all the common exceptions, like RuntimeException
Marc Knaup
12/22/2020, 9:45 AMIllegalArgumentException
😅
When do you use it?nanodeath
12/22/2020, 5:14 PMIllegalStateException
?Marc Knaup
12/22/2020, 5:51 PMrequire()
, check()
and error()
.
The former throws IAEs, the latter two throw ISEs.nanodeath
12/22/2020, 5:55 PMMarc Knaup
12/22/2020, 5:57 PMnanodeath
12/22/2020, 6:00 PMwrapper(foo)
Marc Knaup
12/22/2020, 6:01 PMrequire()
🤔nanodeath
12/22/2020, 6:10 PMrequire
is the wrapper 😛nanodeath
12/22/2020, 6:11 PMnanodeath
12/22/2020, 6:11 PMMarc Knaup
12/22/2020, 6:22 PMilya.gorbunov
12/25/2020, 11:11 PM