if (errorCustomizerClass != null)
{
try
{
Bundle pluginBundle = Platform.getBundle(element.getDeclaringExtension().getContributor().getName());
ErrorMessageCustomizerDelegate delegate = new ErrorMessageCustomizerDelegate(pluginBundle, errorCustomizerClass);
ErrorCustomizationRegistry.getInstance().addErrorMessageCustomizer(namespace, delegate);
}
catch (Exception e)
{
}