fun findByThriftIdOrThrow(fieldId: Int): _Fields? { return findByThriftId(fieldId) ?: throw IllegalArgumentException("Field $fieldId doesn't exist!") }
Find the _Fields constant that matches fieldId , throwing an exception if it is not found .