Ralph Goers wrote:
BTW - I have thought of two ways to fix this. (I'd post this on
wsrp4j-dev, but it appears that list is moderated - I responded to the
subscribe but I haven't gotten a response saying I'm subscribed).
1.
super(Messages.get(errorCode));
try
{
this.initCause(t);
}
catch (Exception e)
{
// Ignore the error on JDK 1.3
}
Not sure that'll work, as AFIACS JVMs check dependencies of the _whole_
method code when the method is first accessed, meaning you're likely to
have the NoSuchMethod error be raised in the caller.
2. Use the technique I am using to fix EncodeURLTransformer. I'm
adding a jdk1.4 and jdk1.3 directory under src. The build system will
use the appropriate one depending on the target jvm version.
3. Use org.apache.commons.lang.exception.NestableException
Sylvain
--
Sylvain Wallez Anyware Technologies
http://bluxte.net http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director