Package org.omg.CORBA

Examples of org.omg.CORBA.MARSHAL


            index = index + pos - 4;
            String codebase = (String)getCodebaseMap().get(ObjectUtil.newInteger(index));
            if (codebase == null)
            {
                throw
                new MARSHAL("stale codebase indirection");
            }

            return codebase;
        }
        // a new codebase string
View Full Code Here


        public char read_wchar( InputBuffer buffer, int giop_minor, boolean littleEndian )
        {
            if (giop_minor < 2)
            {
                throw new MARSHAL( "GIOP 1." + giop_minor +
                                   " only allows 2 Byte encodings for wchar, but the selected TCSW is UTF-8" );
            }

            short value = (short) (0xff & buffer.readByte());
View Full Code Here

        }


        public String read_wstring( InputBuffer source, int lengthIndicator, int giop_minor, boolean little_endian )
        {
            if (giop_minor < 2) throw new MARSHAL( "Bad wide char codeSet: " + getName() );
            return readGiop12WString( source, lengthIndicator, giop_minor );
        }
View Full Code Here

     * @param littleEndian true if the character is to be read low end first
     * @return the wide character.
     */
    public char read_wchar( InputBuffer buffer, int giop_minor, boolean littleEndian )
    {
        throw new MARSHAL( "Bad wide char codeSet: " + getName() );
    }
View Full Code Here

     * @param littleEndian    true if the characters are to be read low end first
     * @return a string possibly containing wide characters.
     */
    public String read_wstring( InputBuffer buffer, int lengthIndicator, int giop_minor, boolean littleEndian )
    {
        throw new MARSHAL( "Bad wide char codeSet: " + getName() );
    }
View Full Code Here

    catch (ApplicationException ex)
      {
        // The exception has been throws on remote side, but we
        // do not expect any. Throw the MARSHAL exception.
        in = ex.getInputStream();
        throw new MARSHAL(ex.getId());
      }
    catch (RemarshalException _rm)
      {
        // This exception means that the parameters must be re-written.
        return passCharacters(wide, narrow);
View Full Code Here

      }
    catch (ApplicationException ex)
      {
        // Handle excepion on remote side.
        in = ex.getInputStream();
        throw new MARSHAL(ex.getId());
      }
    catch (RemarshalException _rm)
      {
        // Handle instruction to resend the parameters.
        return passSimple(an_octet, a_long, a_short, a_string, a_double);
View Full Code Here

      }
    catch (ApplicationException ex)
      {
        // Handle the exception, thrown on remote side.
        in = ex.getInputStream();
        throw new MARSHAL(ex.getId());
      }
    catch (RemarshalException _rm)
      {
        return passStrings(arg);
      }
View Full Code Here

        return result;
      }
    catch (ApplicationException ex)
      {
        in = ex.getInputStream();
        throw new MARSHAL(ex.getId());
      }
    catch (RemarshalException _rm)
      {
        return passStructure(in_structure);
      }
View Full Code Here

      }
    catch (ApplicationException ex)
      {
        // Handle eception on remote side.
        in = ex.getInputStream();
        throw new MARSHAL(ex.getId());
      }
    catch (RemarshalException _rm)
      {
        passTree(tree);
      }
View Full Code Here

TOP

Related Classes of org.omg.CORBA.MARSHAL

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.