Task #1415
Story #1266: Update docs for exception type
Update Java exception implementation to match the docs.
Start date:
Due date:
% Done:
100%
Estimated time:
3.00 h
Milestone:
Product Version:
*
Story Points:
Sprint:
History
#1 Updated by Dave Vieglais almost 14 years ago
The exception xml serialization changed slightly to include "pid" as an optional attribute on the exception element. The Java implementation needs to be updated to reflect this change. e.g.:
<error name='NotFound' errorCode='404' detailCode='1020.1' pid='123XYZ'> <description>The specified object does not exist on this node.</description> <traceInformation> method: mn.get hint: http://cn.dataone.org/cn/resolve/123XYZ </traceInformation>
#2 Updated by Rob Nahf almost 14 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
- Estimated time set to 3.00
updating D1RestClient (deserializeXML method and the internal errorElements class), d1_common_java BaseException and BaseExceptionTest classes.