Hi,
I have an Exception Class as below.
[code]using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test
{
class MyException : Exception
{
}
}[/code]
I call this class as below
[code]if (result == false)
{
throw new MyException();
}[/code]
But I get an error that says 'Unhandled exception has occured in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.
Exception of type Test.MyException was thrown.
Please help.
Thanks
Ajander SinghPosted Oct 16, 2015, 3:36 AM
SunshinePosted Oct 15, 2015, 2:14 PM
Mukesh KumarPosted Oct 15, 2015, 1:37 PM