I need to clear this warning :
try { doSomething() } catch (AmbiguousMatchException MyException) { doSomethingElse() }
The complier
The trouble is, you aren't using your variable MyException anywhere. It gets declared, but isn't used. This isn't a problem... just the compiler giving you a hint in case you intended to use it.
MyException