-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: arender-2.0.0
-
Component/s: Nuxeo Connector
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #48
-
Story Points:2
We would like to convert such exception into DocumentNotAvailableException to improve the meaning of this error:
org.nuxeo.client.spi.NuxeoClientRemoteException: HTTP/404: Not Found at org.nuxeo.client.NuxeoClient.handleResponse(NuxeoClient.java:317) at org.nuxeo.client.NuxeoClient.fetchResponse(NuxeoClient.java:275) at org.nuxeo.client.objects.AbstractConnectable.fetchResponse(AbstractConnectable.java:65) at org.nuxeo.client.objects.Document$AbstractAdapter.get(Document.java:972) at org.nuxeo.client.objects.Document$AbstractAdapter.get(Document.java:948) at com.nuxeo.ecm.arender.connector.NuxeoARenderAdapter.download(NuxeoARenderAdapter.java:31) at com.nuxeo.ecm.arender.client.NuxeoClientFacade.streamBlob(NuxeoClientFacade.java:158) at com.nuxeo.ecm.arender.connector.BlobDocumentAccessor.getInputStream(BlobDocumentAccessor.java:76) at com.arondor.viewer.common.rendition.connector.helper.RemoteDocumentTransferHelper.loadPartialDocument(RemoteDocumentTransferHelper.java:95) at com.arondor.viewer.common.rendition.connector.RemoteClientServiceInvoker.synchronizedLoadDocument(RemoteClientServiceInvoker.java:174) at com.arondor.viewer.common.rendition.connector.RemoteClientServiceInvoker.loadDocumentAccessor(RemoteClientServiceInvoker.java:254) at com.arondor.viewer.common.rendition.connector.ClientDocumentService.synchronizedGetDelegate(ClientDocumentService.java:692) at com.arondor.viewer.common.rendition.connector.ClientDocumentService.getDelegate(ClientDocumentService.java:624) at com.arondor.viewer.common.documentservice.DocumentServiceDelegate$8.execute(DocumentServiceDelegate.java:309) at com.arondor.viewer.common.documentservice.DocumentServiceDelegate$8.execute(DocumentServiceDelegate.java:304) at com.arondor.viewer.common.documentservice.RemoteActionExecutor.execute(RemoteActionExecutor.java:46) at com.arondor.viewer.common.documentservice.DocumentServiceDelegate.execute(DocumentServiceDelegate.java:832) at com.arondor.viewer.common.documentservice.DocumentServiceDelegate.getDocumentLayout(DocumentServiceDelegate.java:303) at com.arondor.viewer.common.rendition.connector.ClientDocumentService.getDocumentLayout(ClientDocumentService.java:1134) at com.arondor.viewer.common.documentservice.DocumentServiceDelegate$8.execute(DocumentServiceDelegate.java:309) at com.arondor.viewer.common.documentservice.DocumentServiceDelegate$8.execute(DocumentServiceDelegate.java:304) at com.arondor.viewer.common.documentservice.RemoteActionExecutor.execute(RemoteActionExecutor.java:46) at com.arondor.viewer.common.documentservice.DocumentServiceDelegate.execute(DocumentServiceDelegate.java:832) at com.arondor.viewer.common.documentservice.DocumentServiceDelegate.getDocumentLayout(DocumentServiceDelegate.java:303) at com.arondor.viewer.server.servlet.ServletDocumentService.getDocumentLayout(ServletDocumentService.java:427)