Examples of XMLDispatcherUserException


Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

    throws XMLDispatcherUserException, XMLDispatcherAppException
  {
    SessionData sess = (SessionData)xdCtx.getSession();
    if (sess == null)
    {
      throw new XMLDispatcherUserException("not logged on");
    }
    else
    {
      if (!sess.getUserId().equals("TOTO"))
      {
        throw new XMLDispatcherUserException("wrong userId in session");
      }
      else
      {
        // ok
      }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

    {
      rply = new SString();
    }
    else
    {
      throw new XMLDispatcherUserException("unexpected action: "+value);
    }
    return rply;
  }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

      org.xooof.xmldispatcher.servers.shared.BOUtils.validateRply(rply,false,true);
      return rply;
    }
    else
    {
      throw new XMLDispatcherUserException("Event load is not allowed in state " + curState + " for class MyBO","XDE_FSM_EVENT_NOT_ALLOWED");
    }
  }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

    if (curState.equals("created3"))
    {
    }
    else
    {
      throw new XMLDispatcherUserException("Event doNothing is not allowed in state " + curState + " for class MyBO","XDE_FSM_EVENT_NOT_ALLOWED");
    }
  }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

    if (curState.equals("created3"))
    {
    }
    else
    {
      throw new XMLDispatcherUserException("Event privateMethod is not allowed in state " + curState + " for class MyBO","XDE_FSM_EVENT_NOT_ALLOWED");
    }
  }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

      setState(org.xooof.xmldispatcher.servers.shared.ThreadLocalXdCtx.get(),"nihil");
      _impl_destroy();
    }
    else
    {
      throw new XMLDispatcherUserException("Event destroy is not allowed in state " + curState + " for class ","XDE_FSM_EVENT_NOT_ALLOWED");
    }
    ((org.xooof.xmldispatcher.servers.basic.XMLDispatcherContextBasic)org.xooof.xmldispatcher.servers.shared.ThreadLocalXdCtx.get()).notifyDestroy(this);
  }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

    {
      _impl_someMethod();
    }
    else
    {
      throw new XMLDispatcherUserException("Event someMethod is not allowed in state " + curState + " for class ","XDE_FSM_EVENT_NOT_ALLOWED");
    }
  }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

    {
      _impl_baseMethod();
    }
    else
    {
      throw new XMLDispatcherUserException("Event baseMethod is not allowed in state " + curState + " for class ","XDE_FSM_EVENT_NOT_ALLOWED");
    }
  }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

      throws XMLDispatcherUserException, XMLDispatcherAppException
  {
    XMLDispatcherSession sess = ThreadLocalXdCtx.get().getSession();
    if (sess == null)
    {
      throw new XMLDispatcherUserException("not logged on");
    } else
    {
      if (!((XdTestSuiteSession) sess).getUserId().equals("TOTO"))
      {
        throw new XMLDispatcherUserException("wrong userId in session");
      } else
      {
        // ok
      }
    }
View Full Code Here

Examples of org.xooof.xmldispatcher.interfaces.XMLDispatcherUserException

    {
      rply = new SString();
    }
    else
    {
      throw new XMLDispatcherUserException("unexpected action: "+value);
    }
    return rply;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.