@Override public String getErrorMessage() { try { ZendScript.getDefault(); } catch (InvalidPhpExecutableException ex) { return NbBundle.getMessage(ZendPhpModuleExtender.class, "MSG_CannotExtend", ex.getMessage()); } return getPanel().getErrorMessage(); }
@Override public String getErrorMessage() { try { PhpInterpreter.getDefault(); } catch (InvalidPhpExecutableException ex) { return ex.getLocalizedMessage(); } try { SymfonyScript.getDefault(); } catch (InvalidPhpExecutableException ex) { return NbBundle.getMessage( SymfonyPhpModuleExtender.class, "MSG_CannotExtend", ex.getMessage()); } return getPanel().getErrorMessage(); }