Package nexj.core.integration

Examples of nexj.core.integration.CompoundIntegrationException


         else
         {
            s_logger.debug("Error processing the composite message; trying to process it in chunks", e);

            Lookup objectParts = getObjectParts(tobj, message.getRoot(), new HashTab());
            CompoundIntegrationException ex = new CompoundIntegrationException(e.getMessage());

            out.setObject(new FailSafeFormatter(ex, bCommit).divideAndFormat(objectParts));

            if (ex.getExceptionCount() > 0)
            {
               throw ex;
            }
         }
      }
View Full Code Here


         folder = folder.getFolder(m_channel.getInFolder());
         folder.open(Folder.READ_WRITE);
         bFolderOpen = true;

         int nMessageCount = folder.getMessageCount();
         CompoundIntegrationException e = null;

         if (s_logger.isDebugEnabled())
         {
            if (nMessageCount != 0)
            {
               s_logger.debug("Receiving " + nMessageCount + " mail message(s)");
            }
         }

         for (int nMessage = 1; nMessage <= nMessageCount; ++nMessage)
         {
            try
            {
               process(context, folder.getMessage(nMessage));
            }
            catch (Throwable t)
            {
               if (e == null)
               {
                  e = new CompoundIntegrationException("err.rpc.mailUnhandled");
               }

               e.addException(t);
            }
         }

         if (e != null)
         {
View Full Code Here

TOP

Related Classes of nexj.core.integration.CompoundIntegrationException

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.