427428429430431432433434
protected void checkReadable() throws MessageNotReadableException { if (!_readableMessage) { throw new MessageNotReadableException("You need to call reset() to make the message readable"); } }
989990991992993994995996
protected void checkRead() throws JMSException { if (!readOnly) { throw new MessageNotReadableException("Message is write-only"); } }
813814815816817818819820
} } protected void checkWriteOnlyBody() throws MessageNotReadableException { if (!readOnlyBody) { throw new MessageNotReadableException("Message body is write-only"); } }
11881189119011911192119311941195
701702703704705706707708
7576777879808182838485
public boolean readBoolean() throws JMSException { if (bodyWriteOnly) { throw new MessageNotReadableException("The message body is writeonly"); } try { Object value = content.get(position);
114115116117118119120121122123124
public byte readByte() throws JMSException { if (bodyWriteOnly) { throw new MessageNotReadableException("The message body is writeonly"); } try { Object value = content.get(position);
151152153154155156157158159160161
public short readShort() throws JMSException { if (bodyWriteOnly) { throw new MessageNotReadableException("The message body is writeonly"); } try { Object value = content.get(position); offset = 0;
193194195196197198199200201202203
public char readChar() throws JMSException { if (bodyWriteOnly) { throw new MessageNotReadableException("The message body is writeonly"); } try { Object value = content.get(position); offset = 0;
224225226227228229230231232233234
public int readInt() throws JMSException { if (bodyWriteOnly) { throw new MessageNotReadableException("The message body is writeonly"); } try { Object value = content.get(position); offset = 0;