Package org.omg.CORBA

Examples of org.omg.CORBA.INV_POLICY


                                   logger);//no locate reply

        try
        {
            SystemExceptionHelper.write( out,
                    new INV_POLICY( 0, CompletionStatus.COMPLETED_NO ));

            connection.sendReply( out );
        }
        catch( IOException e )
        {
View Full Code Here


     * Make shure that the DS is running, if you want to call this method.
     */
    public Policy get_server_policy(int type) {
        if (! orb.hasPolicyFactoryForType(type))
        {
            throw new INV_POLICY("No PolicyFactory for type " + type +
                                 " has been registered!", 2,
                                 CompletionStatus.COMPLETED_MAYBE);
        }

        try
View Full Code Here

                                    "invalid!", 10, CompletionStatus.COMPLETED_MAYBE);
        }

        if (!orb.hasPolicyFactoryForType(type))
        {
            throw new INV_POLICY("No PolicyFactory for type " + type +
                                 " has been registered!", 1,
                                 CompletionStatus.COMPLETED_MAYBE);
        }

        try
View Full Code Here

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

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

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

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

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

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

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

TOP

Related Classes of org.omg.CORBA.INV_POLICY

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.