logo       

Model.java:loadDefaultSchema bad exception chaining: msg#00016

text.xml.xforms.chiba.devel

Subject: Model.java:loadDefaultSchema bad exception chaining

If there's an exception in loadDefaultSchema in Model.java, it gets thrown away:

*private* *void* loadDefaultSchema(List list) *throws* XFormsException {
*try* {
...
}
*catch* (Exception e) {
*throw* *new* XFormsLinkException(*"could not load default schema"*,
*this*.target, *null*);
}
}

It should be:

* throw* *new* XFormsLinkException(*"could not load default schema"*, e,
*this*.target, *null*);





-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise