You need to sign in to do that
Don't have an account?
ran67
how to caught the exception when removing the catch block
Hi ..
try{
opportunity o=[select id from opportunity where name='xxx'];
}
catch(exception e)
{}
now i need to caught the exception
when trigger fails
how to catch and display when records are not getting
while executing the trigger
thanks in advance
apexpages.hasMessages can you try this, if this solve your issue, please mark as accepted
try