Java CAPS JMS Reference

Exceptions

Throws JMSException if conversion is not possible, for example, if the method cannot convert from a map message to a byte array.