Package org.omg.CORBA

Examples of org.omg.CORBA.INTERNAL


        {
            reg.register_poa(name, server, host, port );
        }
        catch( DuplicatePOAName e )
        {
            throw new INTERNAL( "A server with the same combination of ImplName/POA-Name (" +
                                name  +
                                ") is already registered and listed as active at the imr: " + e.toString() );
        }
        catch( IllegalPOAName e )
        {
            throw new INTERNAL( "The ImR replied that the POA name >>" +
                                e.name + "<< is illegal: " + e.toString() );
        }
        catch( UnknownServerName e )
        {
            throw new INTERNAL( "The ImR replied that the server name >>" +
                                e.name + "<< is unknown: " + e.toString());
        }
    }
View Full Code Here


        {
            reg.set_server_down( name );
        }
        catch(UnknownServerName e)
        {
            throw new INTERNAL( "The ImR replied that a server with name " +
                                name + " is unknown: " + e.toString() );
        }
    }
View Full Code Here

            {
                return new Name(ctxName);
            }
            catch ( org.omg.CosNaming.NamingContextPackage.InvalidName e)
            {
                throw new INTERNAL(e.toString());
            }
        }
        return null;
    }
View Full Code Here

                o = rootPoa.id_to_reference(oid);
            }
            catch ( Exception e )
            {
                logger.error("unexpected exception", e);
                throw new INTERNAL(e.toString());
            }

            bi.value = BindingIteratorHelper.narrow(o);
        }
        else
View Full Code Here

            return NamingContextHelper.narrow(obj);
        } catch (SystemException e) {
            // just propagate system exceptions
            throw e;
        } catch (Exception e) {
            throw (INTERNAL)(new INTERNAL("Unable to create new naming context").initCause(e));
        }
    }
View Full Code Here

            bi.value = BindingIteratorHelper.narrow(obj);
        } catch (SystemException e) {
            // just propagate system exceptions
            throw e;
        } catch (Exception e) {
            throw (INTERNAL)(new INTERNAL("Unable to activate BindingIterator").initCause(e));
        }
    }
View Full Code Here

    ///////////////////////////////////////////////////////////
   
    public static final int CANNOT_WRITE_REPOSITORY_DB = SUNVMCID.value + 401 ;
   
    public INTERNAL cannotWriteRepositoryDb( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( CANNOT_WRITE_REPOSITORY_DB, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "ACTIVATION.cannotWriteRepositoryDb",
                parameters, ActivationSystemException.class, exc ) ;
View Full Code Here

        initializing = true ;
        defaultAction = new ActionBase("Invalid Transition")
            {
                public void doIt( FSM fsm, Input in )
                {
                    throw new INTERNAL(
                        "Invalid transition attempted from " +
                            fsm.getState() + " under " + in ) ;
                }
            } ;
    }
View Full Code Here

    }
   
    public static final int SERVER_NOT_EXPECTED_TO_REGISTER = SUNVMCID.value + 403 ;
   
    public INTERNAL serverNotExpectedToRegister( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( SERVER_NOT_EXPECTED_TO_REGISTER, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "ACTIVATION.serverNotExpectedToRegister",
                parameters, ActivationSystemException.class, exc ) ;
View Full Code Here

    }
   
    public static final int UNABLE_TO_START_PROCESS = SUNVMCID.value + 404 ;
   
    public INTERNAL unableToStartProcess( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( UNABLE_TO_START_PROCESS, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "ACTIVATION.unableToStartProcess",
                parameters, ActivationSystemException.class, exc ) ;
View Full Code Here

TOP

Related Classes of org.omg.CORBA.INTERNAL

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.