Package org.omg.CORBA

Examples of org.omg.CORBA.DATA_CONVERSION


        // may only hold one octet of any multi-byte character encoding.'
        // Therefore we ensure that we are in the single byte range i.e.
        // less than 0xFF or \377.
        if (c > '\377')
        {
            throw new DATA_CONVERSION ("Char " + c + " out of range");
        }

        check( 1 );
        buffer[pos++] = (byte)c;
        index++;
View Full Code Here


        for (int i=offset; i < length+offset; i++)
        {
            if (value[i] > '\377')
            {
                throw new DATA_CONVERSION ("Char " + value[i] + " out of range");
            }
            buffer[pos++] = (byte)value[i];
        }
        index+=length;
    }
View Full Code Here

    checkClientCtx(info);

    // Throw an exception on "passCharacters"
    if (info.operation().equals("passCharacters"))
      {
        throw new DATA_CONVERSION(87652, CompletionStatus.COMPLETED_MAYBE);
      }

    // Forward on the attempt to get the field.
    // The forwarding target is connected to another ORB without this
    // interceptor.
View Full Code Here

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

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

    ///////////////////////////////////////////////////////////
   
    public static final int BAD_HEX_DIGIT = SUNVMCID.value + 1401 ;
   
    public DATA_CONVERSION badHexDigit( CompletionStatus cs, Throwable t ) {
        DATA_CONVERSION exc = new DATA_CONVERSION( BAD_HEX_DIGIT, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "UTIL.badHexDigit",
                parameters, UtilSystemException.class, exc ) ;
View Full Code Here

    }
   
    public static final int ACCEPTOR_INSTANTIATION_FAILURE = SUNVMCID.value + 220 ;
   
    public DATA_CONVERSION acceptorInstantiationFailure( CompletionStatus cs, Throwable t, Object arg0) {
        DATA_CONVERSION exc = new DATA_CONVERSION( ACCEPTOR_INSTANTIATION_FAILURE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[1] ;
            parameters[0] = arg0 ;
            doLog( Level.WARNING, "ORBUTIL.acceptorInstantiationFailure",
View Full Code Here

    }
   
    public static final int ACCEPTOR_INSTANTIATION_TYPE_FAILURE = SUNVMCID.value + 221 ;
   
    public DATA_CONVERSION acceptorInstantiationTypeFailure( CompletionStatus cs, Throwable t, Object arg0) {
        DATA_CONVERSION exc = new DATA_CONVERSION( ACCEPTOR_INSTANTIATION_TYPE_FAILURE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[1] ;
            parameters[0] = arg0 ;
            doLog( Level.WARNING, "ORBUTIL.acceptorInstantiationTypeFailure",
View Full Code Here

    }
   
    public static final int ILLEGAL_CONTACT_INFO_LIST_FACTORY_TYPE = SUNVMCID.value + 222 ;
   
    public DATA_CONVERSION illegalContactInfoListFactoryType( CompletionStatus cs, Throwable t, Object arg0) {
        DATA_CONVERSION exc = new DATA_CONVERSION( ILLEGAL_CONTACT_INFO_LIST_FACTORY_TYPE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[1] ;
            parameters[0] = arg0 ;
            doLog( Level.WARNING, "ORBUTIL.illegalContactInfoListFactoryType",
View Full Code Here

    }
   
    public static final int BAD_CONTACT_INFO_LIST_FACTORY = SUNVMCID.value + 223 ;
   
    public DATA_CONVERSION badContactInfoListFactory( CompletionStatus cs, Throwable t, Object arg0) {
        DATA_CONVERSION exc = new DATA_CONVERSION( BAD_CONTACT_INFO_LIST_FACTORY, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[1] ;
            parameters[0] = arg0 ;
            doLog( Level.WARNING, "ORBUTIL.badContactInfoListFactory",
View Full Code Here

TOP

Related Classes of org.omg.CORBA.DATA_CONVERSION

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.