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
sudh shuklasudh shukla 

How to display try catch block exception in pop up window.

Hi all,

I want to display try catch block exception in a Popup window.
How can i Achieve these.If anybody know the solution plese let me know

Thanks
Pankaj_GanwaniPankaj_Ganwani
Hi Sudh,

Just store the exception in variable and oncomplete of the component which triggered the event, you can show javascript popup window to show that error message by using alert('{!strError}').

Thanks,
Pankaj
sudh shuklasudh shukla
Thanks pankaj for your reply will you please give me an example.