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

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


  }

  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

  public void writeShort(short s) throws IncompatibleModeException,
      IOException
  {
    if (_mode != WRITE_MODE)
      throw new IncompatibleModeException();

    _outputStream.writeShort(s);
  }
View Full Code Here

  public void writeUTFString(String s) throws IncompatibleModeException,
      IOException
  {
    if (_mode != WRITE_MODE)
      throw new IncompatibleModeException();

    _outputStream.writeUTF(s);
  }
View Full Code Here

 
  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

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.