List of usage examples for javax.jms MessageNotReadableException MessageNotReadableException
public MessageNotReadableException(String reason)
From source file:com.amazon.sqs.javamessaging.message.SQSBytesMessage.java
void checkCanRead() throws JMSException { if (bytes == null) { throw new MessageNotReadableException("Message is not readable"); }/*from w w w. j a v a 2s . c o m*/ }