+ Start a Discussion

Doubt on Force.com sites Exception handling



   I developed Force.com sites pages and gave login access to my customer portal users.I made a callout in one of the Vf page in my site. whenever the callout failed, salesforce sites throw me to the Site Exception page. 


   My doubt is can we show a custom message in the exception page according to the callout error?  or else Is it possible to  catch the exception of that callout and show it in the exception page.


  Need help on the above query?





murali krishna.ax1501murali krishna.ax1501

 catch(exception e){



rendre your cusrom page



add msg to perticular key name and catch by using


apexpages.getpera................get('you key '); and show it i your custom page



i think you can go like this