users@jms-spec.java.net

[jms-spec users] JMSException#getCause()

From: Philippe Marschall <kustos_at_gmx.net>
Date: Sat, 05 Jan 2013 14:27:04 +0100

Hi

I was wondering why JMSException does not support Java 1.4 exception
chaining [1] (#getCause() vs. #getLinkedException()). It should be easy
to retrofit (similar to InvocationTargetException) and reduce the
confusion and potential for misuse. Also a constructor that takes a
message string and a cause (like every other exception class) would be nice.

  [1]
http://docs.oracle.com/javase/1.4.2/docs/guide/lang/chained-exceptions.html

Cheers
Philippe