Package org.omg.CORBA

Examples of org.omg.CORBA.OBJECT_NOT_EXIST


    ///////////////////////////////////////////////////////////
   
    public static final int ORBINITINFO_INVALID = SUNVMCID.value + 801 ;
   
    public OBJECT_NOT_EXIST orbinitinfoInvalid( CompletionStatus cs, Throwable t ) {
        OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST( ORBINITINFO_INVALID, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = null ;
            doLog( Level.FINE, "INTERCEPTORS.orbinitinfoInvalid",
                parameters, InterceptorsSystemException.class, exc ) ;
View Full Code Here


    private void checkDestroyStatus() throws OBJECT_NOT_EXIST
    {
        if (!disposed_.compareAndSet(false, true))
        {
            throw new OBJECT_NOT_EXIST();
        }
    }
View Full Code Here

    {
        if (!destroyed_.compareAndSet(false, true))
        {
            logger_.error("Already destroyed");

            throw new OBJECT_NOT_EXIST();
        }
    }
View Full Code Here

            } catch (InvalidTransactionException e) {
                log.debug("InvalidTransactionException", e);
                throw (SystemException)new INVALID_TRANSACTION(e.toString()).initCause(e);
            } catch (NoSuchObjectException e) {
                log.debug("NoSuchObjectException", e);
                throw (SystemException)new OBJECT_NOT_EXIST(e.toString()).initCause(e);
            } catch (AccessException e) {
                log.debug("AccessException", e);
                throw (SystemException)new NO_PERMISSION(e.toString()).initCause(e);
            } catch (MarshalException e) {
                log.debug("MarshalException", e);
View Full Code Here

        Throwable mappedException = exception;

        if ( exception instanceof java.rmi.NoSuchObjectException
            || exception instanceof NoSuchObjectLocalException )
        {
            mappedException = new OBJECT_NOT_EXIST(MAPEXCEPTION_CODE,
                CompletionStatus.COMPLETED_MAYBE);
        } else if ( exception instanceof java.rmi.AccessException
            || exception instanceof javax.ejb.AccessLocalException )
        {
            mappedException = new NO_PERMISSION(MAPEXCEPTION_CODE,
View Full Code Here

                    servant = (Servant) tie;
                }
            }
        } catch (NoSuchObjectLocalException e) {
            logger.log(Level.SEVERE,"iiop.gettie_exception", e);
            throw new OBJECT_NOT_EXIST( GET_TIE_EXCEPTION_CODE,
          CompletionStatus.COMPLETED_NO);
        } catch (RuntimeException e) {
            logger.log(Level.SEVERE,"iiop.runtime_exception", e);
          throw e;
      }
View Full Code Here

                                           logger );//no locate reply

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

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

            } catch (InvalidTransactionException e) {
                log.debug("InvalidTransactionException", e);
                throw new INVALID_TRANSACTION(e.toString());
            } catch (NoSuchObjectException e) {
                log.debug("NoSuchObjectException", e);
                throw new OBJECT_NOT_EXIST(e.toString());
            } catch (AccessException e) {
                log.debug("AccessException", e);
                throw new NO_PERMISSION(e.toString());
            } catch (MarshalException e) {
                log.debug("MarshalException", e);
View Full Code Here

                                           logger );//no locate reply

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

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

      }
      connected = false;
    }
    else
    {
      throw new OBJECT_NOT_EXIST();
    }
  }
View Full Code Here

TOP

Related Classes of org.omg.CORBA.OBJECT_NOT_EXIST

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.