simplified error message

This commit is contained in:
Mark Fisher
2010-09-22 14:01:15 -04:00
parent 3c5917dad6
commit be49b854a3

View File

@@ -249,11 +249,9 @@ public class ChannelPublishingJmsMessageListener extends MessagingGatewaySupport
finally {
producer.close();
}
} catch (RuntimeException e) {
//e.printStackTrace();
logger.error("Failed to generate JMS Reply Message from: " + replyResult + "\n" +
"A typical cause is that the Object from which the JMS Message is created or some member of its " +
"hierarchy is not Serializable.", e);
}
catch (RuntimeException e) {
logger.error("Failed to generate JMS Reply Message from: " + replyResult, e);
throw e;
}
}