Package org.jacorb.poa.except

Examples of org.jacorb.poa.except.POAInternalError


            {
                byte[] result = IdUtil.extract(object_key, 0, i);
                return unmaskStr( new String(result) );
            }
        }
        throw new POAInternalError("error extracting impl name from object_key: "+
                                   convert(object_key));
    }
View Full Code Here


                byte[] result =
                    IdUtil.extract(object_key, i, object_key.length - i);
                return unmaskId(result);
            }
        }
        throw new POAInternalError("error extracting oid from object_key: "+
                                   convert(object_key));
    }
View Full Code Here

                break;
            }
        }
        if (begin > end)
        {
            throw new POAInternalError("error extracting poa name from object_key: "+convert(object_key));
        }
        if (begin == end)
        {
            return "";
        }
View Full Code Here

                    result[altered] = POAConstants.OBJECT_KEY_SEP_BYTE;

                }
                else
                {
                    throw new POAInternalError("error: forbidden byte sequence \""
                                               +POAConstants.MASK_BYTE+id[i+1]+"\" (unmaskId)");
                }
                i++;

            }
View Full Code Here

     */

    public byte[] getObjectId()
    {
        if (!start)
            throw new POAInternalError("error: RequestProcessor not started (getObjectId)");
        return request.objectId();
    }
View Full Code Here

     */

    public org.omg.CORBA.ORB getORB()
    {
        if (!start)
            throw new POAInternalError("error: RequestProcessor not started (getORB)");
        return controller.getORB();
    }
View Full Code Here

     */

    public POA getPOA()
    {
        if (!start)
            throw new POAInternalError("error: RequestProcessor not started (getPOA)");
        return controller.getPOA();
    }
View Full Code Here

     */

    public Servant getServant()
    {
        if (!start)
            throw new POAInternalError("error: RequestProcessor not started (getServant)");
        return servant;
    }
View Full Code Here

        pool.copyInto(rps);
        for (int i=0; i<rps.length; i++)
        {
            if (rps[i].isActive())
            {
                throw new POAInternalError("error: request processor is active (RequestProcessorPM.destroy)");
            }

            pool.removeElement(rps[i]);
            unused_size--;
            current._removeContext(rps[i]);
View Full Code Here

        pool.copyInto(rps);
        for (int i=0; i<rps.length; i++)
        {
            if (rps[i].isActive())
            {
                throw new POAInternalError("error: request processor is active (RequestProcessorPM.destroy)");
            }

            pool.removeElement(rps[i]);
            unused_size--;
            current._removeContext(rps[i]);
View Full Code Here

TOP

Related Classes of org.jacorb.poa.except.POAInternalError

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.