Python Print Exception Class Apex