/** * @see org.opencms.report.A_CmsReport#addError(java.lang.Object) */ @Override public void addError(Object obj) { if (!m_busy && (m_report != null)) { m_report.addError(obj); } m_busy = true; super.addError(obj); m_busy = false; }
/** * @see org.opencms.report.A_CmsReport#addError(java.lang.Object) */ @Override public void addError(Object obj) { if (!m_busy && (m_report != null)) { m_report.addError(obj); } m_busy = true; super.addError(obj); m_busy = false; }
/** * Adds an error object to the list of errors that occurred during the report.<p> * * @param obj the error object */ public void addError(Object obj) { if (getReport() != null) { getReport().addError(obj); } }
/** * Adds an error object to the list of errors that occurred during the report.<p> * * @param obj the error object */ public void addError(Object obj) { if (getReport() != null) { getReport().addError(obj); } }
/** * @see org.opencms.staticexport.I_CmsStaticExportHandler#performEventPublishProject(org.opencms.util.CmsUUID, org.opencms.report.I_CmsReport) */ @Override public void performEventPublishProject(CmsUUID publishHistoryId, I_CmsReport report) { try { m_busy = true; exportAfterPublish(publishHistoryId, report); } catch (Throwable t) { if (LOG.isErrorEnabled()) { LOG.error(Messages.get().getBundle().key(Messages.LOG_STATIC_EXPORT_ERROR_0), t); } if (report != null) { report.addError(t); } } finally { m_busy = false; } }
/** * @see org.opencms.staticexport.I_CmsStaticExportHandler#performEventPublishProject(org.opencms.util.CmsUUID, org.opencms.report.I_CmsReport) */ @Override public void performEventPublishProject(CmsUUID publishHistoryId, I_CmsReport report) { try { m_busy = true; exportAfterPublish(publishHistoryId, report); } catch (Throwable t) { if (LOG.isErrorEnabled()) { LOG.error(Messages.get().getBundle().key(Messages.LOG_STATIC_EXPORT_ERROR_0), t); } if (report != null) { report.addError(t); } } finally { m_busy = false; } }
getReport().addError(m_throwable); m_throwable = null; return;
getReport().addError(m_throwable); m_throwable = null; return;
getReport().addError(m_throwable); m_throwable = null; return;
getReport().addError(m_throwable); m_throwable = null; return;
getReport().addError(m_throwable); m_throwable = null; return;
getReport().addError(m_throwable); return;
} catch (Exception e) { LOG.error(e.getLocalizedMessage(), e); getReport().addError(e);
org.opencms.report.Messages.get().container(Messages.RPT_SOURCESEARCH_COULD_NOT_READ_FILE_0), I_CmsReport.FORMAT_ERROR); report.addError(e); report.println( org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_FAILED_0),
org.opencms.report.Messages.get().container(Messages.RPT_SOURCESEARCH_COULD_NOT_READ_FILE_0), I_CmsReport.FORMAT_ERROR); report.addError(e); report.println( org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_FAILED_0),
} catch (Exception e) { LOG.error(e.getLocalizedMessage(), e); getReport().addError(e); } finally { cms.getRequestContext().setCurrentProject(currentProject);