function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
smitha pais 8smitha pais 8 

how to pass ids to catch block

I have passed The failed records from by database.update operation (throw new Customexception(failedRecordIdSet);),
to the Custom Exception class 
public Set<Id> handleExceptionIds(Set<Id> ids){
        //system.debug(excpObj.getMessage());
        return ids;
    }

and in my vf page controller i need to catch these record ids so that i can display the errored records to the users.

Is there a way to pass record ids to the catch block.