Package org.omg.CORBA

Examples of org.omg.CORBA.OBJECT_NOT_EXIST


      } catch (java.lang.reflect.InvocationTargetException ex) {
    throw ex.getTargetException();
      }
  }
  else {
      throw new OBJECT_NOT_EXIST();
  }
    }
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

                EjbDeployment deployment = getDeployment();
                return new StandardServant(getOrb(), InterfaceType.EJB_OBJECT, deployment, pk);
            } catch (IOException e) {
                // if we can't deserialize, then this object can't exist in this process
                throw new OBJECT_NOT_EXIST(0, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
            } catch (Exception e) {
                log.error("Exception during dispatch to method " + operation + " in bean " + pk, e);
                return null;
            }
        }
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

                EjbDeployment deployment = getDeployment();
                return new StandardServant(getOrb(), InterfaceType.EJB_OBJECT, deployment, pk);
            } catch (IOException e) {
                // if we can't deserialize, then this object can't exist in this process
                throw new OBJECT_NOT_EXIST(0, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
            } catch (Exception e) {
                log.error("Exception during dispatch to method " + operation + " in bean " + pk, e);
                return null;
            }
        }
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

   protected void checkDestroyed ()
   {
      if (anyRepresentation == null && typeCode == null)
      {
         throw new OBJECT_NOT_EXIST ();
      }
   }
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

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

            throw new OBJECT_NOT_EXIST();
        }
    }
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

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.