Examples of BAD_PARAM


Examples of org.omg.CORBA.BAD_PARAM

        if (encapsulation() != 0)
        {
            // You're going to have to define your own marshal operation
            // for littleEndian profiles.
            // The CDROutputStream only does big endian currently.
            throw new BAD_PARAM("We can only marshal big endian stylee profiles !!");
        }

        // Start a CDR encapsulation for the profile_data
        CDROutputStream profileDataStream = new CDROutputStream();
        try
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

                    }
                }
                else if (failOnORBInitializerError)
                {
                    logger.error("aborting due to wrong configuration for property " + prop_name + ": " + name + " is not an ORBInitializer");
                    throw new BAD_PARAM("Wrong configuration for property " + prop_name + ": " + name + " is not an ORBInitializer");
                }
                else
                {
                    logger.warn("ignoring wrong configuration for property " + prop_name + ": " + name + " is not an ORBInitializer");
                }
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

        {
            if (logger.isErrorEnabled())
            {
                logger.error("Exception while converting string to object", e);
            }
            throw new BAD_PARAM(10, CompletionStatus.COMPLETED_NO);
        }
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

        if (delegate instanceof org.jacorb.orb.Delegate)
        {
            return delegate.toString();
        }

        throw new BAD_PARAM("Argument has a delegate whose class is "
                + delegate.getClass().getName()
                + ", a org.jacorb.orb.Delegate was expected");
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

                    list.add_value (param.name, any, org.omg.CORBA.ARG_INOUT.value);
                    break;
                }
                default:
                {
                    throw new BAD_PARAM ("Invalid value for ParamaterMode");
                }
            }
        }

        return list;
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

    public void connect(org.omg.CORBA.Object obj)
    {
        if (!(obj instanceof org.omg.CORBA.portable.ObjectImpl))
        {
            throw new BAD_PARAM("connect parameter must extend " +
                                "org.omg.CORBA.portable.ObjectImpl");
        }

        if (!(obj instanceof org.omg.CORBA.portable.InvokeHandler))
        {
            throw new BAD_PARAM("connect parameter must implement " +
                                "org.omg.CORBA.portable.InvokeHandler");
        }

        synchronized (connectedObjects)
        {
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

    public void disconnect(org.omg.CORBA.Object obj)
    {
        if (!(obj instanceof org.omg.CORBA.portable.ObjectImpl))
        {
            throw new BAD_PARAM("disconnect parameter must extend " +
                                "org.omg.CORBA.portable.ObjectImpl");
        }

        if (!(obj instanceof org.omg.CORBA.portable.InvokeHandler))
        {
            throw new BAD_PARAM("disconnect parameter must implement " +
                                "org.omg.CORBA.portable.InvokeHandler");
        }

        synchronized (connectedObjects)
        {
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

            break;
        case ClientType._SEQUENCE_EVENT:
            _clazz = SequenceProxyPullConsumerImpl.class;
            break;
        default:
            throw new BAD_PARAM("Invalid ClientType: ClientType." + clientType.value());
        }

        final MutablePicoContainer _containerForProxy = newContainerForNotifyStyleProxy();

        _containerForProxy.registerComponentImplementation(AbstractProxyConsumer.class, _clazz);
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

            break;
        case ClientType._SEQUENCE_EVENT:
            _proxyClazz = SequenceProxyPushConsumerImpl.class;
            break;
        default:
            throw new BAD_PARAM("Invalid ClientType: ClientType." + clientType.value());
        }

        final MutablePicoContainer _containerForProxy = newContainerForNotifyStyleProxy();

        _containerForProxy
View Full Code Here

Examples of org.omg.CORBA.BAD_PARAM

    public BigDecimal read_fixed(short digits, short scale)
     {
        if (digits < 1)
        {
            throw new BAD_PARAM("digits must be a positive value: " + digits + ".");
        }

        if (scale < 0)
        {
            throw new BAD_PARAM("scale must be a non-negative value: " + scale +".");
        }

        if (scale > digits)
        {
            throw new BAD_PARAM("scale factor " + scale + " must be less than or equal to the total number of digits " + digits + ".");
        }

        handle_chunking();

        final StringBuffer sb = new StringBuffer();
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.