302303304305306307308309
else throw new MessageFormatException("Invalid conversion"); } catch (IndexOutOfBoundsException e) { throw new MessageEOFException(""); } }
346347348349350351352353
375376377378379380381382
409410411412413414415416
475476477478479480481482
526527528529530531532533
} } catch (IndexOutOfBoundsException e) { throw new MessageEOFException(""); } }
542543544545546547548549
return value; } catch (IndexOutOfBoundsException e) { throw new MessageEOFException(""); } }
6061626364656667
*/ protected void checkAvailable(int len) throws MessageEOFException { if (_data.remaining() < len) { throw new MessageEOFException("Unable to read " + len + " bytes"); } }
495496497498499500501502503504505
} else { if (size > _data.remaining()) { throw new MessageEOFException("Byte array has stated length " + size + " but message only contains " + _data.remaining() + " bytes");
147148149150151152153154155156157
{ return dis.readBoolean(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); }