Project

General

Profile

Task #1415

Story #1266: Update docs for exception type

Update Java exception implementation to match the docs.

Added by Dave Vieglais about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h
Milestone:
Product Version:
*
Story Points:
Sprint:

History

#1 Updated by Dave Vieglais about 13 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 about 13 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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)