Searched refs:UnknownTypeException (Results 1 – 7 of 7) sorted by relevance
40 else -> throw UnknownTypeException() in <lambda>()53 is String -> it.toFloatOrNull() ?: throw UnknownTypeException() in <lambda>()54 else -> throw UnknownTypeException() in <lambda>()67 is String -> it.toIntOrNull() ?: throw UnknownTypeException() in <lambda>()68 else -> throw UnknownTypeException() in <lambda>()89 throw UnknownTypeException() in <lambda>()93 else -> throw UnknownTypeException() in <lambda>()
61 class UnknownTypeException : JSONException("JSON cannot be converted to DataPoint value") class
125 jsonToValue = { throw UnknownTypeException() }, in <lambda>()
30 import platform.test.motion.golden.UnknownTypeException51 is String -> it.toFloatOrNull()?.dp ?: throw UnknownTypeException() in Dp()52 else -> throw UnknownTypeException() in Dp()62 with(it as? JSONObject ?: throw UnknownTypeException()) { in Dp()78 with(it as? JSONObject ?: throw UnknownTypeException()) { in Dp()94 with(it as? JSONObject ?: throw UnknownTypeException()) { in Dp()115 else -> throw UnknownTypeException() in Dp()
23 import platform.test.motion.golden.UnknownTypeException in <lambda>()35 with(it as? JSONObject ?: throw UnknownTypeException()) { in <lambda>()52 with(it as? JSONObject ?: throw UnknownTypeException()) { in <lambda>()72 with(it as? JSONObject ?: throw UnknownTypeException()) { in <lambda>()
36 if (jsonValue is String) Native(jsonValue) else throw UnknownTypeException() in <lambda>()
156 with(it as? JSONObject ?: throw UnknownTypeException()) { in <lambda>()