In my application I need to display error message in two different ways based on severity.
1. Contacting Administrator if severity is high.
2. User handling the error by themselves without contacting administrator.
I achieved first one like as follows:
Try
{
//code
}
catch(Exception ex)
{
Exception("Contact Admin");
}
How to achieve 2nd one can anyone five solutions for this.
Thanks In Advance.