UCP providers: behavior of Content.getPropertyValue() implementation

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Fri Oct 14 15:09:13 UTC 2016


Hi all,

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?

Thanks.

-- 
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu


More information about the LibreOffice mailing list