This PR allows document managers to be identified with a name and any exceptions thrown through the primary API methods will be either wrapped with a DocumentManagerException.
If the Exception is already an instance of DocumentManagerException (f.e. a DocumentNotFoundException) then the document name will be set on that exception itself.
This PR allows document managers to be identified with a name and any exceptions thrown through the primary API methods will be either wrapped with a
DocumentManagerException
.If the Exception is already an instance of
DocumentManagerException
(f.e. aDocumentNotFoundException
) then the document name will be set on that exception itself.