} while ((len - offset) > 0);
} catch (IOException e) {
- throw new IllegalArgumentException(e.getMessage());
+ throw new IllegalArgumentException(e.getMessage(), e);
}
// XXX we shouldn't assume that the only kind of POST body
} catch (java.io.UnsupportedEncodingException e) {
// XXX function should accept an encoding parameter & throw this
// exception. Otherwise throw something expected.
- throw new IllegalArgumentException(e.getMessage());
+ throw new IllegalArgumentException(e.getMessage(), e);
}
}
if (e instanceof IOException){
throw (IOException)e;
} else {
- throw new RuntimeException(e.getMessage());
+ throw new RuntimeException(e.getMessage(), e);
}
}
} else {
if (e instanceof IOException){
throw (IOException)e;
} else {
- throw new RuntimeException(e.getMessage());
+ throw new RuntimeException(e.getMessage(), e);
}
}
} else {
if (e instanceof IOException){
throw (IOException)e;
} else {
- throw new RuntimeException(e.getMessage());
+ throw new RuntimeException(e.getMessage() ,e);
}
}
} else {
if (e instanceof IOException){
throw (IOException)e;
} else {
- throw new RuntimeException(e.getMessage());
+ throw new RuntimeException(e.getMessage(), e);
}
}
} else {
if (e instanceof IOException){
throw (IOException)e;
} else {
- throw new RuntimeException(e.getMessage());
+ throw new RuntimeException(e.getMessage(), e);
}
}
} else {
driver = (Driver) clazz.newInstance();
} catch (Throwable e) {
ExceptionUtils.handleThrowable(e);
- throw new SQLException(e.getMessage());
+ throw new SQLException(e.getMessage(), e);
}
}
driver = (Driver) clazz.newInstance();
} catch (Throwable e) {
ExceptionUtils.handleThrowable(e);
- throw new SQLException(e.getMessage());
+ throw new SQLException(e.getMessage(), e);
}
}
return is;
}
} catch (ZipException e) {
- throw new IOException(e.getMessage());
+ throw new IOException(e.getMessage(), e);
}
return super.streamContent();
}
top.appendChild(doc.createTextNode(str));
}
} catch (DOMException e) {
- throw new SAXException(e.getMessage());
+ throw new SAXException(e.getMessage(), e);
}
}
top = top.getParentNode();
depth--;
} catch (DOMException e) {
- throw new SAXException(e.getMessage());
+ throw new SAXException(e.getMessage(), e);
}
}
try {
top.appendChild(doc.createProcessingInstruction(target, data));
} catch (DOMException e) {
- throw new SAXException(e.getMessage());
+ throw new SAXException(e.getMessage(), e);
}
}
previousTop.appendChild(top);
depth++;
} catch (DOMException e) {
- throw new SAXException(e.getMessage());
+ throw new SAXException(e.getMessage(), e);
}
}
When using parallel deployment, correctly handle the scenario when the
client sends multiple JSESSIONID cookies. (markt)
</fix>
+ <fix>
+ <bug>50929</bug>When wrapping an exception, include the root cause.
+ Patch provided by sebb. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">
<bug>50928</bug>: Don't ignore keyPass attribute for HTTP BIO and
NIO connectors. Based on a patch provided by sebb. (markt)
</fix>
- <fix>
- Make root cause exception available if JSSE SSL initialisation fails.
- Patch provided by sebb. (markt)
- </fix>
</changelog>
</subsection>
<subsection name="Web applications">