/** * @see org.opencms.main.CmsException#createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable) */ @Override public CmsException createException(CmsMessageContainer container, Throwable cause) { return new CmsRfsException(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 CmsRfsException(container, cause); } }
CmsRfsException ex = new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_ACCESS_1, m_filePath), ioex);
CmsRfsException ex = new CmsRfsException( Messages.get().container(Messages.ERR_FILE_ARG_ACCESS_1, m_filePath), ioex);
throw new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_EMPTY_1, new Object[] {String.valueOf(path)})); } else { throw new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_NOT_FOUND_1, new Object[] {String.valueOf(path)})); } else { throw new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_ACCESS_1, new Object[] {String.valueOf(path)}), ioex);
throw new CmsRfsException( Messages.get().container(Messages.ERR_FILE_ARG_EMPTY_1, new Object[] {String.valueOf(path)})); m_isLogfile = true; } else { throw new CmsRfsException( Messages.get().container( Messages.ERR_FILE_ARG_IS_FOLDER_1, m_isLogfile = true; } else { throw new CmsRfsException( Messages.get().container( Messages.ERR_FILE_ARG_NOT_FOUND_1, m_isLogfile = true; } else { throw new CmsRfsException( Messages.get().container( Messages.ERR_FILE_ARG_NOT_READ_1, m_isLogfile = true; } else { throw new CmsRfsException( Messages.get().container( Messages.ERR_FILE_ARG_NOT_READ_1, m_isLogfile = true; } else {
throw new CmsRfsException( Messages.get().container(Messages.ERR_FILE_ARG_EMPTY_1, new Object[] {String.valueOf(path)})); } else { throw new CmsRfsException( Messages.get().container( Messages.ERR_FILE_ARG_NOT_FOUND_1, } else { throw new CmsRfsException( Messages.get().container(Messages.ERR_FILE_ARG_ACCESS_1, new Object[] {String.valueOf(path)}), ioex);
throw new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_EMPTY_1, new Object[] {String.valueOf(path)})); m_isLogfile = true; } else { throw new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_IS_FOLDER_1, new Object[] {String.valueOf(path)})); m_isLogfile = true; } else { throw new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_NOT_FOUND_1, new Object[] {String.valueOf(path)})); m_isLogfile = true; } else { throw new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_NOT_READ_1, new Object[] {String.valueOf(path)})); m_isLogfile = true; } else { throw new CmsRfsException(Messages.get().container( Messages.ERR_FILE_ARG_NOT_READ_1, new Object[] {String.valueOf(path)})); m_isLogfile = true;
if (!discFolder.exists()) { if (!discFolder.mkdir()) { throw new CmsRfsException(Messages.get().container(Messages.ERR_FOLDER_NOT_CREATED_0)); s.close(); } catch (FileNotFoundException e) { throw new CmsRfsException(Messages.get().container(Messages.ERR_FILE_NOT_FOUND_1, fileName, e)); } catch (IOException e) { throw new CmsRfsException(Messages.get().container(Messages.ERR_FILE_NOT_WRITTEN_0, e));