Package org.exoplatform.services.jcr.ext.initializer

Examples of org.exoplatform.services.jcr.ext.initializer.RemoteWorkspaceInitializationException


            new InitializationErrorPacket(InitializationErrorPacket.INITIALIZATION_ERROR_PACKET, message);
         channelManager.sendPacket(packet, channelManager.getOtherMembers().get(0));
      }
      catch (IOException e)
      {
         throw new RemoteWorkspaceInitializationException("Cannot send export data " + e.getMessage(), e);
      }
   }
View Full Code Here


            }
            catch (IOException e)
            {
               log.error("Cannot save workspace data changes", e);
               exception = new RemoteWorkspaceInitializationException("Cannot save workspace data changes", e);
               latch.countDown();
            }
            break;

         case InitializationErrorPacket.INITIALIZATION_ERROR_PACKET :
            InitializationErrorPacket ePacket = (InitializationErrorPacket)packet;
            exception = new RemoteWorkspaceInitializationException(ePacket.getErrorMessage());
            latch.countDown();
            break;

         default :
            break;
View Full Code Here

    */
   public void onStateChanged(StateEvent event)
   {
      if (membrerInited == 2 && event.getMembers().size() == 1 && (context == null || !context.isFinished()))
      {
         exception = new RemoteWorkspaceInitializationException("The remote member was disconected");
         latch.countDown();
      }
      else
         membrerInited = event.getMembers().size();
   }
View Full Code Here

            }
            catch (IOException e)
            {
               log.error("Cannot save workspace data changes", e);
               exception = new RemoteWorkspaceInitializationException("Cannot save workspace data changes", e);
               latch.countDown();
            }
            break;

         case InitializationErrorPacket.INITIALIZATION_ERROR_PACKET :
            InitializationErrorPacket ePacket = (InitializationErrorPacket)packet;
            exception = new RemoteWorkspaceInitializationException(ePacket.getErrorMessage());
            latch.countDown();
            break;

         default :
            break;
View Full Code Here

    */
   public void onStateChanged(StateEvent event)
   {
      if (membrerInited == 2 && event.getMembers().size() == 1 && (context == null || !context.isFinished()))
      {
         exception = new RemoteWorkspaceInitializationException("The remote member was disconected");
         latch.countDown();
      }
      else
         membrerInited = event.getMembers().size();
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.ext.initializer.RemoteWorkspaceInitializationException

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.