Talon
03/07/2018, 6:20 PMlewik
03/07/2018, 6:21 PMinline fun ise(message: Any?): Throwable = IllegalStateException(message?.toString() ?: "null")
inline fun iae(message: Any?): Throwable = IllegalArgumentException(message?.toString() ?: "null")
This is shorter and no red linesTalon
03/07/2018, 6:24 PMTalon
03/07/2018, 6:24 PM