"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/servlet/frontend/NotifyServlet.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

NotifyServlet.java  (OpenKM-document-management-system-6.3.10):NotifyServlet.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 28 skipping to change at line 28
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
package com.openkm.servlet.frontend; package com.openkm.servlet.frontend;
import com.openkm.api.OKMAuth; import com.openkm.api.OKMAuth;
import com.openkm.api.OKMNotification; import com.openkm.api.OKMNotification;
import com.openkm.core.AccessDeniedException; import com.openkm.core.AccessDeniedException;
import com.openkm.core.DatabaseException; import com.openkm.core.DatabaseException;
import com.openkm.core.LockException;
import com.openkm.core.PathNotFoundException; import com.openkm.core.PathNotFoundException;
import com.openkm.core.RepositoryException; import com.openkm.core.RepositoryException;
import com.openkm.frontend.client.OKMException; import com.openkm.frontend.client.OKMException;
import com.openkm.frontend.client.constants.service.ErrorCode; import com.openkm.frontend.client.constants.service.ErrorCode;
import com.openkm.frontend.client.service.OKMNotifyService; import com.openkm.frontend.client.service.OKMNotifyService;
import com.openkm.principal.PrincipalAdapterException; import com.openkm.principal.PrincipalAdapterException;
import com.openkm.util.MailUtils; import com.openkm.util.MailUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
skipping to change at line 144 skipping to change at line 145
throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKM NotifyService, ErrorCode.CAUSE_Repository), e.getMessage()); throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKM NotifyService, ErrorCode.CAUSE_Repository), e.getMessage());
} catch (PrincipalAdapterException e) { } catch (PrincipalAdapterException e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKM NotifyService, ErrorCode.CAUSE_PrincipalAdapter), e.getMessage()); throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKM NotifyService, ErrorCode.CAUSE_PrincipalAdapter), e.getMessage());
} catch (DatabaseException e) { } catch (DatabaseException e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKM NotifyService, ErrorCode.CAUSE_Database), e.getMessage()); throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKM NotifyService, ErrorCode.CAUSE_Database), e.getMessage());
} catch (IOException e) { } catch (IOException e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKM NotifyService, ErrorCode.CAUSE_IO), e.getMessage()); throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKM NotifyService, ErrorCode.CAUSE_IO), e.getMessage());
} } catch (LockException e) {
log.error(e.getMessage(), e);
throw new OKMException(ErrorCode.get(ErrorCode.ORIGIN_OKMNotifyServi
ce, ErrorCode.CAUSE_Lock), e.getMessage());
}
log.debug("notify: void"); log.debug("notify: void");
} }
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)