Package org.omg.CORBA

Examples of org.omg.CORBA.BAD_OPERATION


    }
   
    public static final int ILLEGAL_FORWARD_REQUEST = SUNVMCID.value + 1003 ;
   
    public BAD_OPERATION illegalForwardRequest( CompletionStatus cs, Throwable t ) {
        BAD_OPERATION exc = new BAD_OPERATION( ILLEGAL_FORWARD_REQUEST, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "POA.illegalForwardRequest",
                parameters, POASystemException.class, exc ) ;
View Full Code Here


     * @throws BAD_OPERATION if the delegate has not been set
     * @see #_set_delegate
     */
    public Delegate _get_delegate() {
        if (__delegate == null)
      throw new BAD_OPERATION("The delegate has not been set!");
        return __delegate;
    }
View Full Code Here

    try
    {
      recoveryCoordinator = RecoveryCreator.createRecoveryCoordinator(r, params);

      if (recoveryCoordinator == null)
        throw new BAD_OPERATION(
            "RecoveryCoordinator "
                + jtsLogger.logMesg.getString("com.arjuna.ats.internal.jts.orbspecific.coordinator.rcnotcreated"));
    }
    catch (NO_IMPLEMENT ex)
    {
View Full Code Here

              if (realCoord != null)
              {
                realCoord.register_synchronization(_sync.getSynchronization());
              }
              else
                throw new BAD_OPERATION(
                    ExceptionCodes.NO_TRANSACTION,
                    CompletionStatus.COMPLETED_NO);
            }
            else
              throw new BAD_OPERATION(
                  ExceptionCodes.NO_TRANSACTION,
                  CompletionStatus.COMPLETED_NO);
          }
          catch (Inactive e1)
          {
View Full Code Here

        }

        SkeletonStrategy op = methodInvokerMap.get(opName);
        if (op == null) {
            logger.debug("Unable to find opname '" + opName + "' valid operations:" + methodInvokerMap.keySet());
            throw new BAD_OPERATION(opName);
        }
        final NamespaceContextSelector selector = componentView.getComponent().getNamespaceContextSelector();
        final ClassLoader oldCl = WildFlySecurityManager.getCurrentContextClassLoaderPrivileged();
        NamespaceContextSelector.pushCurrentSelector(selector);
        try {
View Full Code Here

            logger.trace("EJBObject local invocation: " + opName);
        }

        SkeletonStrategy op = methodInvokerMap.get(opName);
        if (op == null) {
            throw new BAD_OPERATION(opName);
        }
        if (tx != null) {
            transactionManager.resume(tx);
        }
        try {
View Full Code Here

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

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

    }
   
    public static final int ERROR_IN_MAKE_STUB_FROM_REPOSITORY_ID = SUNVMCID.value + 1402 ;
   
    public BAD_OPERATION errorInMakeStubFromRepositoryId( CompletionStatus cs, Throwable t ) {
        BAD_OPERATION exc = new BAD_OPERATION( ERROR_IN_MAKE_STUB_FROM_REPOSITORY_ID, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = null ;
            doLog( Level.FINE, "UTIL.errorInMakeStubFromRepositoryId",
                parameters, UtilSystemException.class, exc ) ;
View Full Code Here

    }
   
    public static final int CLASS_CAST_EXCEPTION_IN_LOAD_STUB = SUNVMCID.value + 1403 ;
   
    public BAD_OPERATION classCastExceptionInLoadStub( CompletionStatus cs, Throwable t ) {
        BAD_OPERATION exc = new BAD_OPERATION( CLASS_CAST_EXCEPTION_IN_LOAD_STUB, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = null ;
            doLog( Level.FINE, "UTIL.classCastExceptionInLoadStub",
                parameters, UtilSystemException.class, exc ) ;
View Full Code Here

TOP

Related Classes of org.omg.CORBA.BAD_OPERATION

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.