
| Key: |
XSTR-326
|
| Type: |
Task
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Assignee: |
Unassigned
|
| Reporter: |
Kenny MacLeod
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
XStream
Created: 26/Jun/06 07:20 AM
Updated: 07/Aug/06 09:03 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.2
|
|
com.thoughtworks.xstream.Xstream does not declare any exceptions on its method declarations, either as throws clauses or as javadoc, even for methods such as fromXML(Reader), which should have a very clearly defined exception behaviour. As it stands, we're reduced to try/catch RuntimeException, which isn't very precise.
The javadoc should declare the various runtime exceptions that may be thrown.
|
|
Description
|
com.thoughtworks.xstream.Xstream does not declare any exceptions on its method declarations, either as throws clauses or as javadoc, even for methods such as fromXML(Reader), which should have a very clearly defined exception behaviour. As it stands, we're reduced to try/catch RuntimeException, which isn't very precise.
The javadoc should declare the various runtime exceptions that may be thrown. |
Show » |
|