ObjectInputStream
267268269270271272273
* @throws JMSException if the JMS provider fails to create this message due * to some internal error. */ public ObjectMessage createObjectMessage() throws JMSException { ensureOpen(); return new ObjectMessageImpl(); }
282283284285286287288289290
* to some internal error. */ public ObjectMessage createObjectMessage(Serializable object) throws JMSException { ensureOpen(); ObjectMessageImpl result = new ObjectMessageImpl(); result.setObject(object); return result; }
87888990919293
* * @return a new message * @throws JMSException for any JMS error */ protected Message newMessage() throws JMSException { return new ObjectMessageImpl(); }