Examples of BAD_INV_ORDER


Examples of org.omg.CORBA.BAD_INV_ORDER

                                            boolean replace)
    {

        if (caller_op != ClientInterceptorIterator.SEND_REQUEST)
        {
            throw new BAD_INV_ORDER("The operation \"add_request_service_context\" is " +
                                    "currently invalid!", 10,
                                    CompletionStatus.COMPLETED_MAYBE);
        }

        Integer _id = ObjectUtil.newInteger(service_context.context_id);

        if (! replace && request_ctx.containsKey(_id))
        {
            throw new BAD_INV_ORDER("The ServiceContext with id " + _id.toString()
                                    + " has already been set!", 11,
                                    CompletionStatus.COMPLETED_MAYBE);
        }

        request_ctx.put(_id, service_context);
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

    private void checkIsConfigured()
    {
        if (!configured)
        {
            throw new BAD_INV_ORDER("RequestQueue is not configured yet.");
        }
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

    public synchronized static BufferManager getInstance()
        throws BAD_INV_ORDER
    {
        if (!configured)
        {
            throw new BAD_INV_ORDER("Buffer Manager not configured");
        }
        return singleton;
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

   * Get the state of the target POA that must be previously set.
   */
  public int getPoaMode()
  {
    if (target == null)
      throw new BAD_INV_ORDER();
    return target.the_POAManager().get_state().value();
  }
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

   * 200 = activate default associated object.
   */
  public void setPoaMode(int mode)
  {
    if (target == null)
      throw new BAD_INV_ORDER();

    POAManager manager = target.the_POAManager();

    try
      {
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

        _name = name;
    }

    void checkShutDown() {
        if (isShutdown) {
            BAD_INV_ORDER ex = new BAD_INV_ORDER(
                    "RMIState has already been shut down");
            logger.fine("RMIState has already been shut down " + ex);
            throw ex;
        }
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

    ///////////////////////////////////////////////////////////
   
    public static final int DEP_PREVENT_DESTRUCTION = OMGVMCID.value + 1 ;
   
    public BAD_INV_ORDER depPreventDestruction( CompletionStatus cs, Throwable t ) {
        BAD_INV_ORDER exc = new BAD_INV_ORDER( DEP_PREVENT_DESTRUCTION, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.depPreventDestruction",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

    }
   
    public static final int DESTROY_INDESTRUCTIBLE = OMGVMCID.value + 2 ;
   
    public BAD_INV_ORDER destroyIndestructible( CompletionStatus cs, Throwable t ) {
        BAD_INV_ORDER exc = new BAD_INV_ORDER( DESTROY_INDESTRUCTIBLE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.destroyIndestructible",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

    }
   
    public static final int SHUTDOWN_WAIT_FOR_COMPLETION_DEADLOCK = OMGVMCID.value + 3 ;
   
    public BAD_INV_ORDER shutdownWaitForCompletionDeadlock( CompletionStatus cs, Throwable t ) {
        BAD_INV_ORDER exc = new BAD_INV_ORDER( SHUTDOWN_WAIT_FOR_COMPLETION_DEADLOCK, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.shutdownWaitForCompletionDeadlock",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

Examples of org.omg.CORBA.BAD_INV_ORDER

    }
   
    public static final int BAD_OPERATION_AFTER_SHUTDOWN = OMGVMCID.value + 4 ;
   
    public BAD_INV_ORDER badOperationAfterShutdown( CompletionStatus cs, Throwable t ) {
        BAD_INV_ORDER exc = new BAD_INV_ORDER( BAD_OPERATION_AFTER_SHUTDOWN, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.badOperationAfterShutdown",
                parameters, OMGSystemException.class, exc ) ;
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.