You do not have access to the Apex class named Exception in Salesforce

1. Check the user's profile. Make sure the Apex Class is added to the "Enabled Apex Class Access".


2. Make sure the user has "API enabled" permission in the profile if they are trying to access REST API Apex Class.