You need to sign in to do that
Don't have an account?
SkyBlue2007
Exception handling except for some User Validation Rules.
Hi all,
I'm thinking of Exception handling except for some User Validation Rules,
but Apex catches an Exception with them.
Here's Apex.
try { update user; } catch (Exception e) { String errorMessage = e.getMessage(); ApexPages.addMessage(new ApexPages.Message(ApexPages.severity.ERROR, errorMessage)); }
In this case, I have two error messages.
Thanks,
SkyBlue2007
Checkout following wiki link:
http://wiki.developerforce.com/index.php/An_Introduction_to_Exception_Handling
I hope this will help.
Hi eprasu,
Thank you for your prompt reply.
Based on your suggestion, I added some sentences in Apex.
Thanks,
Seiji