[SPARK-2542] Exit Code Class should be renamed and placed package properly