Hi,

The domain model says that getContentStream should throw a constraint
exception when there is no content stream.

For the bindings this should mean CmisConstraintException, although
the AtomPub bindings currently return a CmisNotSupportedException due
to the missing link.

For the session I thing doc.getContentStream() should return null in
that case instead of throwing, what do you think?

Florent

-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Reply via email to