@Override public char readChar() throws JMSException { if (!readMode) throw new MessageNotReadableException("Message not readable"); try { return readOnlyMessage.readChar(); } catch (IOException eof) { MessageEOFException eofEx = new MessageEOFException("eof ?"); eofEx.setLinkedException(eof); throw eofEx; } }