In the EZIDClient class, methods such as, create, createOrUpdate, setMetadata, and delete run on a different thread. When errors happen in another thread, it only logs in a file. So this cause clients can't capture the exception. Here is a ticket to describe the issue in Metacat:
NCEAS/metacat#1545
We need provide a mechanism for client to catch the exceptions even though we still keep the multi-thread feature.
In the EZIDClient class, methods such as,
create,createOrUpdate,setMetadata, anddeleterun on a different thread. When errors happen in another thread, it only logs in a file. So this cause clients can't capture the exception. Here is a ticket to describe the issue in Metacat:NCEAS/metacat#1545
We need provide a mechanism for client to catch the exceptions even though we still keep the multi-thread feature.