} catch (NoSuchMethodException e) {
externalContext.log("Ajax4jsf support is disabled because getCurrentInstance method was not " +
"found in org.ajax4jsf.context.AjaxContext.", e);
return false;
} catch (IllegalAccessException e) {
externalContext.log("Ajax4jsf support is disabled because exception was thrown during " +
"execution of getCurrentInstance method in org.ajax4jsf.context.AjaxContext", e);
return false;
} catch (InvocationTargetException e) {
externalContext.log("Ajax4jsf support is disabled because exception was thrown during " +
"execution of getCurrentInstance method in org.ajax4jsf.context.AjaxContext", e);