JBIDE-14663 : catch CoreException instead of Exception

Signed-off-by: Fred Bricon <fbricon@gmail.com>