/** * @see java.lang.Throwable#getMessage() */ @Override public String getMessage() { return getLocalizedMessage(); }
/** * @see java.lang.Throwable#getMessage() */ @Override public String getMessage() { return getLocalizedMessage(); }
} catch (CmsRuntimeException e) { LOG.warn(e.getLocalizedMessage(), e); } catch (Throwable e) { LOG.error(e.getLocalizedMessage(), e);
/** * Updates the cache entry for the given published resource.<p> * * @param res a published resource */ public void update(CmsPublishedResource res) { try { update(res.getStructureId(), res.getRootPath(), res.getType(), res.getState()); } catch (CmsRuntimeException e) { // may happen during import of org.opencms.ade.configuration module LOG.warn(e.getLocalizedMessage(), e); } }
/** * Updates the cache entry for the given resource.<p> * * @param res the resource for which the cache entry should be updated */ public void update(CmsResource res) { try { update(res.getStructureId(), res.getRootPath(), res.getTypeId(), res.getState()); } catch (CmsRuntimeException e) { // may happen during import of org.opencms.ade.configuration module LOG.warn(e.getLocalizedMessage(), e); } }
LOG.debug(ex.getLocalizedMessage(), ex);
LOG.debug(ex.getLocalizedMessage(), ex);
/** * @see com.vaadin.data.Validator#validate(java.lang.Object) */ public void validate(Object value) throws InvalidValueException { CmsScheduledJobInfo info = new CmsScheduledJobInfo(); // Job name may be needed in exception try { info.setJobName(m_fieldJobName.getValue()); } catch (CmsRuntimeException e) { throw new InvalidValueException(e.getLocalizedMessage(A_CmsUI.get().getLocale())); } String stringValue = (String)value; try { info.setCronExpression(stringValue); } catch (CmsIllegalArgumentException e) { throw new InvalidValueException(e.getLocalizedMessage(A_CmsUI.get().getLocale())); } } }
/** * @see com.vaadin.data.Validator#validate(java.lang.Object) */ public void validate(Object value) throws InvalidValueException { CmsScheduledJobInfo info = new CmsScheduledJobInfo(); String stringValue = (String)value; // Job name may be needed in exception try { info.setJobName(m_fieldJobName.getValue()); } catch (CmsRuntimeException e) { throw new InvalidValueException(e.getLocalizedMessage(A_CmsUI.get().getLocale())); } try { info.setClassName(stringValue); } catch (CmsIllegalArgumentException e) { throw new InvalidValueException(e.getLocalizedMessage(A_CmsUI.get().getLocale())); } } }