try
{
// Write your code hare
}
catch (Exception ex)
{
throw ex;
}
try
{
// Write your code hare
}
catch (Exception ex)
{
throw new FaultException(ex.Message);
}
The above screen says clearly that a try was given to divide by zero. Here client can easily understand what the error is.