On 10/14/2016 05:09 PM, Giuseppe Castagno wrote:
I wonder what would be the right behavior when implementing the code in
Content.getPropertyValue(); specifically what should be the behavior
when a client ask for a property of a resource served by the UCP
provider and there is an error in retrieving the resource (resource
doesn't exist, communication error, you name it...)?

1) return an empty property?
2) or throw an exception?

css.beans.XPropertySet.getProprtyValue allows for throwing a css.lang.WrappedTargetException, so that looks like a natural choice

LibreOffice mailing list

Reply via email to