I need to clear this warning :
try
{
// doSomething();
}
catch (AmbiguousMatchException MyException)
{
// doSomethingElse();
}
The compiler is telling me : The variable 'My Exception' is declared but never used
How can I fix this.
Try this one,
try
{
doSomething()
}
catch (AmbiguousMatchException)
{
doSomethingElse()
}