/** * @see org.opencms.main.CmsException#createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable) */ @Override public CmsException createException(CmsMessageContainer container, Throwable cause) { return new CmsResourceInitException(container, cause); }
/** * @see org.opencms.main.CmsException#createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable) */ @Override public CmsException createException(CmsMessageContainer container, Throwable cause) { return new CmsResourceInitException(container, cause); }
throws IOException, CmsResourceInitException { CmsResourceInitException resInitException = new CmsResourceInitException(getClass()); if (res != null) {
LOG.error(msg, e); throw new CmsResourceInitException(msg, e); } finally {
throw new CmsResourceInitException(e.getMessageContainer(), e); } finally {
throw new CmsResourceInitException(e.getMessageContainer(), e); } finally {
LOG.error(msg.key(), e); throw new CmsResourceInitException(msg, e); } finally { CmsResourceInitException resInitException = new CmsResourceInitException(getClass()); } catch (Exception e) { LOG.error(e.getLocalizedMessage(), e); throw new CmsResourceInitException(getClass());
LOG.error(Messages.get().getBundle().key(Messages.ERR_HISTORYRESOURCE_2, uri, version)); throw new CmsResourceInitException(Messages.get().container( Messages.ERR_SHOWVERSION_2, uri,
CmsResourceInitException initEx = new CmsResourceInitException(CmsPdfResourceHandler.class); initEx.setClearErrors(true); throw initEx;
CmsResourceInitException initEx = new CmsResourceInitException(CmsPdfResourceHandler.class); initEx.setClearErrors(true); throw initEx;
LOG.error(Messages.get().getBundle().key(Messages.ERR_HISTORYRESOURCE_2, uri, version)); throw new CmsResourceInitException( Messages.get().container(Messages.ERR_SHOWVERSION_2, uri, version), e);
CmsMessageContainer msg = Messages.get().container(Messages.ERR_RESCOURCE_NOT_FOUND_1, uri); LOG.error(msg.key(), e); throw new CmsResourceInitException(msg, e);
uri); LOG.error(e.getLocalizedMessage(), e); throw new CmsResourceInitException(msg, e);