I need to clear this warning :
try { doSomething() } catch (AmbiguousMatchException MyException) { doSomethingElse() }
The complier
You declare a name for the exception, MyException, but you never do anything with it. Since it's not used, the compiler points it out.
You can simply remove the name.
catch(AmbiguousMatchException) { doSomethingElse(); }