This function gets the name of the exception contained in an Environment structure.
Environment *env; string rc; rc = somExceptionId(env);