Examples of BAD_TYPECODE


Examples of org.omg.CORBA.BAD_TYPECODE

             typeCode.kind().value() == TCKind._tk_void ||
             typeCode.kind().value() == TCKind._tk_except
             )
            )
        {
            throw new BAD_TYPECODE("Illegal member TypeCode",
                                   2,
                                   CompletionStatus.COMPLETED_NO );
        }
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_TYPECODE

            //case TCKind._tk_native:               // 31
            //case TCKind._tk_abstract_interface:   // 32
            //case TCKind._tk_local_interface:      // 33
            default:
            {
                throw new BAD_TYPECODE("Cannot compare anys with TypeCode kind " + kind);
            }
        }
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_TYPECODE

                        type);
                break;
            }
            case TCKind._tk_native:     //31
            {
                throw new BAD_TYPECODE(
                        "Cannot handle TypeCode with kind " + kind);
            }
            case TCKind._tk_abstract_interface: // 32
            {
                java.lang.Object obj =
                    ((org.omg.CORBA_2_3.portable.InputStream)input).read_abstract_interface();
                if (obj instanceof org.omg.CORBA.Object)
                {
                    insert_Object((org.omg.CORBA.Object)obj);
                }
                else
                {
                    insert_Value((java.io.Serializable)obj);
                }
                break;
            }
            default:
            {
                throw new BAD_TYPECODE("Cannot handle TypeCode with kind " + kind);
            }
        }
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_TYPECODE

                    outputStream.write_value (serializable);
                    break;
                }
                case TCKind._tk_native:     //31
                {
                    throw new BAD_TYPECODE(
                            "Cannot handle TypeCode with kind " + kind);
                }
                case TCKind._tk_abstract_interface:  //32
                {
                    ((org.omg.CORBA_2_3.portable.OutputStream)output)
                    .write_abstract_interface(value);
                    break;
                }
                default:
                {
                    throw new BAD_TYPECODE("Cannot handle TypeCode with kind "
                            + kind);
                }
            }
        }
    }
View Full Code Here

Examples of org.omg.CORBA.BAD_TYPECODE

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

Examples of org.omg.CORBA.BAD_TYPECODE

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

Examples of org.omg.CORBA.BAD_TYPECODE

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

Examples of org.omg.CORBA.BAD_TYPECODE

    ///////////////////////////////////////////////////////////
   
    public static final int BAD_REMOTE_TYPECODE = SUNVMCID.value + 201 ;
   
    public BAD_TYPECODE badRemoteTypecode( CompletionStatus cs, Throwable t ) {
        BAD_TYPECODE exc = new BAD_TYPECODE( BAD_REMOTE_TYPECODE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "ORBUTIL.badRemoteTypecode",
                parameters, ORBUtilSystemException.class, exc ) ;
View Full Code Here

Examples of org.omg.CORBA.BAD_TYPECODE

    }
   
    public static final int UNRESOLVED_RECURSIVE_TYPECODE = SUNVMCID.value + 202 ;
   
    public BAD_TYPECODE unresolvedRecursiveTypecode( CompletionStatus cs, Throwable t ) {
        BAD_TYPECODE exc = new BAD_TYPECODE( UNRESOLVED_RECURSIVE_TYPECODE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "ORBUTIL.unresolvedRecursiveTypecode",
                parameters, ORBUtilSystemException.class, exc ) ;
View Full Code Here

Examples of org.omg.CORBA.BAD_TYPECODE

    ///////////////////////////////////////////////////////////
   
    public static final int MARSHALL_INCOMPLETE_TYPECODE = OMGVMCID.value + 1 ;
   
    public BAD_TYPECODE marshallIncompleteTypecode( CompletionStatus cs, Throwable t ) {
        BAD_TYPECODE exc = new BAD_TYPECODE( MARSHALL_INCOMPLETE_TYPECODE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.marshallIncompleteTypecode",
                parameters, OMGSystemException.class, exc ) ;
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.