Package org.jboss.soa.esb.message.body.content

Examples of org.jboss.soa.esb.message.body.content.IncompatibleModeException


  public double readDouble() throws IncompatibleModeException, IOException,
      InvalidPayloadException
  {
    if (_mode != READ_MODE)
      throw new IncompatibleModeException();

    valid();

    return _inputStream.readDouble();
  }
View Full Code Here


  public float readFloat() throws IncompatibleModeException, IOException,
      InvalidPayloadException
  {
    if (_mode != READ_MODE)
      throw new IncompatibleModeException();

    valid();

    return _inputStream.readFloat();
  }
View Full Code Here

  public short readShort() throws IncompatibleModeException, IOException,
      InvalidPayloadException
  {
    if (_mode != READ_MODE)
      throw new IncompatibleModeException();

    valid();

    return _inputStream.readShort();
  }
View Full Code Here

  public String readUTFString() throws IncompatibleModeException,
      IOException, InvalidPayloadException
  {
    if (_mode != READ_MODE)
      throw new IncompatibleModeException();

    valid();

    return _inputStream.readUTF();
  }
View Full Code Here

  public void writeBoolean(boolean b) throws IncompatibleModeException,
      IOException
  {
    if (_mode != WRITE_MODE)
      throw new IncompatibleModeException();

    _outputStream.writeBoolean(b);
  }
View Full Code Here

  }

  public void writeInt(int i) throws IncompatibleModeException, IOException
  {
    if (_mode != WRITE_MODE)
      throw new IncompatibleModeException();

    _outputStream.writeInt(i);
  }
View Full Code Here

  }

  public void writeLong(long l) throws IncompatibleModeException, IOException
  {
    if (_mode != WRITE_MODE)
      throw new IncompatibleModeException();

    _outputStream.writeLong(l);
  }
View Full Code Here

  }

  public void writeChar(char c) throws IncompatibleModeException, IOException
  {
    if (_mode != WRITE_MODE)
      throw new IncompatibleModeException();

    _outputStream.writeChar(c);
  }
View Full Code Here

  public void writeDouble(double d) throws IncompatibleModeException,
      IOException
  {
    if (_mode != WRITE_MODE)
      throw new IncompatibleModeException();
   
    _outputStream.writeDouble(d);
  }
View Full Code Here

  public void writeFloat(float f) throws IncompatibleModeException,
      IOException
  {
    if (_mode != WRITE_MODE)
      throw new IncompatibleModeException();

    _outputStream.writeFloat(f);
  }
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.message.body.content.IncompatibleModeException

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.