Catches ClassNotFoundError thrown in sandboxed environments