Package com.xmultra.processor.db.exception

Examples of com.xmultra.processor.db.exception.ContentPersistenceException


                logger.logError(errEntry);
                return false;
            }
            catch (ContentPersistenceExceptions cpes) {
              Iterator exceptions = cpes.getExceptions().iterator();
              ContentPersistenceException cpe = null;
              boolean reconnectFlag = false;
              while (exceptions.hasNext()) {
                cpe = (ContentPersistenceException) exceptions.next();
                if (cpe.getSeverityLevel() == ContentPersistenceException.HIGH_SEVERITY) {
                  this.logError(cpe, "processItem()");
                }
                else if (cpe.getSeverityLevel() == ContentPersistenceException.LOW_SEVERITY) {
                  this.logWarning(cpe, "processItem()");
                }
                if (cpe.reconnect()) {
                  reconnectFlag = true;
                }
              }
              if (reconnectFlag) {
                this.getNewDBConnection();
View Full Code Here

TOP

Related Classes of com.xmultra.processor.db.exception.ContentPersistenceException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.