Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.