[SPARK-3547]Using a special exit code instead of 1 to represent ClassNotFoundExcepti...

...on

As improvement of https://github.com/apache/spark/pull/1944, we should use more special exit code to represent ClassNotFoundException.
Thanks for the reference! Good to know, didn't know these specific rules before.