Is there any way to handle erros in MDX?

For example, if a particular product 'XYZ' if not present in Cube and MDX query run for product 'XYZ' then it throw an error saying 'Unable to open cellset'.

Any way to prevent this error?

I have searched all places but could not find any.


Satyen Patel