error handling knn case study: compiler version/correct code.