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

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


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

    valid();

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


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

    valid();

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

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

    valid();

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

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

    valid();

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

  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

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.