Package org.omg.CORBA

Examples of org.omg.CORBA.DATA_CONVERSION


    }
   
    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

        // 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

        // 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

    ///////////////////////////////////////////////////////////
   
    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 FRAGMENT_SIZE_MINIMUM = SUNVMCID.value + 215 ;
   
    public DATA_CONVERSION fragmentSizeMinimum( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
        DATA_CONVERSION exc = new DATA_CONVERSION( FRAGMENT_SIZE_MINIMUM, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[2] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    }
   
    public static final int FRAGMENT_SIZE_DIV = SUNVMCID.value + 216 ;
   
    public DATA_CONVERSION fragmentSizeDiv( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
        DATA_CONVERSION exc = new DATA_CONVERSION( FRAGMENT_SIZE_DIV, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[2] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    }
   
    public static final int ORB_INITIALIZER_FAILURE = SUNVMCID.value + 217 ;
   
    public DATA_CONVERSION orbInitializerFailure( CompletionStatus cs, Throwable t, Object arg0) {
        DATA_CONVERSION exc = new DATA_CONVERSION( ORB_INITIALIZER_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.orbInitializerFailure",
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.