Revision 9833
Added by Jing Tao almost 8 years ago
ObjectPathMap.java | ||
---|---|---|
10 | 10 |
import java.util.Set; |
11 | 11 |
|
12 | 12 |
import org.apache.log4j.Logger; |
13 |
import org.dataone.exceptions.MarshallingException; |
|
13 | 14 |
import org.dataone.service.types.v1.Identifier; |
14 |
import org.jibx.runtime.JiBXException; |
|
15 | 15 |
import org.xml.sax.SAXException; |
16 | 16 |
|
17 | 17 |
import com.hazelcast.core.MapLoader; |
... | ... | |
71 | 71 |
* the data. The doctype value for metadata can vary, but for data |
72 | 72 |
* is always 'BIN', so using a simple if-then-else to separate |
73 | 73 |
*/ |
74 |
private String pathToDocid(String localid) throws AccessControlException, HandlerException, JiBXException, IOException, McdbException, SAXException
|
|
74 |
private String pathToDocid(String localid) throws AccessControlException, HandlerException, MarshallingException, IOException, McdbException, SAXException
|
|
75 | 75 |
{ |
76 | 76 |
Hashtable<String, String> ht = ReplicationService.getDocumentInfoMap(localid); |
77 | 77 |
if (ht.get("doctype").equals("BIN")) { |
Also available in: Unified diff
Replaced the JiBXException by MarshallingException.