Examples of INTERNAL


Examples of erjang.Internal

      /*
       * Annotation[] ann = field.getAnnotations(); for (Annotation a :
       * ann) { System.err.println(" -> "+field.getName()+" : "+a); }
       */

      Internal imp = field.getAnnotation(Internal.class);
      if (imp != null) {
        FunID f = new FunID(imp);

        EModuleManager.add_internal(f, new FieldBinder(field, f, module_name()));

View Full Code Here

Examples of org.omg.CORBA.INTERNAL

        beforeWriteData();
        javax.rmi.CORBA.Util.writeAny(out, obj);
    }
   
    public ObjectReader getObjectReader(Object newObject) {
        throw new INTERNAL("cannot do this");
    }
View Full Code Here

Examples of org.omg.CORBA.INTERNAL

                    break;

                case MTCompleteEstablishContext.value:
                    log.error("The CSIv2 TSS is not supposed to receive a CompleteEstablishContext message.");
                    throw new INTERNAL("The CSIv2 TSS is not supposed to receive a CompleteEstablishContext message.");

                case MTContextError.value:
                    log.error("The CSIv2 TSS is not supposed to receive a CompleteEstablishContext message.");
                    throw new INTERNAL("The CSIv2 TSS is not supposed to receive a ContextError message.");

                case MTMessageInContext.value:
                    log.error("The CSIv2 TSS is not supposed to receive a CompleteEstablishContext message.");

                    contextId = contextBody.in_context_msg().client_context_id;
View Full Code Here

Examples of org.omg.CORBA.INTERNAL

                SASContextBodyHelper.insert(any, sasContextBody);
                ri.add_reply_service_context(new ServiceContext(SecurityAttributeService.value, Util.getCodec().encode_value(any)), true);
            }
        } catch (InvalidTypeForEncoding itfe) {
            log.error("InvalidTypeForEncoding thrown", itfe);
            throw new INTERNAL("InvalidTypeForEncoding thrown: " + itfe);
        }
    }
View Full Code Here

Examples of org.omg.CORBA.INTERNAL

                // Iterators are activated with the RootPOA (transient)
                byte[] oid = rootPoa.activate_object(new BindingIteratorImpl(rest));
                o = rootPoa.id_to_reference(oid);
            } catch (Exception e) {
                log.error("unexpected exception", e);
                throw new INTERNAL(e.toString());
            }

            bi.value = BindingIteratorHelper.narrow(o);
        } else {
            result = new Binding[size];
View Full Code Here

Examples of org.omg.CORBA.INTERNAL

                // Iterators are activated with the RootPOA (transient)
                byte[] oid = rootPoa.activate_object(new BindingIteratorImpl(rest));
                o = rootPoa.id_to_reference(oid);
            } catch (Exception e) {
                JacORBLogger.ROOT_LOGGER.logInternalError(e);
                throw new INTERNAL(e.toString());
            }

            bi.value = BindingIteratorHelper.narrow(o);
        } else {
            result = new Binding[size];
View Full Code Here

Examples of org.omg.CORBA.INTERNAL

            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

Examples of org.omg.CORBA.INTERNAL

            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

Examples of org.omg.CORBA.INTERNAL

            PropagationContextHelper.insert(any, propagationContext);
            byte[] encodedPropagationContext;
            try {
                encodedPropagationContext = codec.encode_value(any);
            } catch (InvalidTypeForEncoding invalidTypeForEncoding) {
                throw (INTERNAL)new INTERNAL("Could not encode propagationContext").initCause(invalidTypeForEncoding);
            }
            ServiceContext otsServiceContext = new ServiceContext(TransactionService.value, encodedPropagationContext);
            ri.add_request_service_context(otsServiceContext, true);
        }
View Full Code Here

Examples of org.omg.CORBA.INTERNAL

   }

   protected final INTERNAL unexpectedException(Exception cause)
   {
       logger.debug("An unexpected error occured", cause);
       return new INTERNAL(cause.toString());
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.