low us to customize the message of the exception and let
>>> the user know why they aren't getting their expected results.
>>>
>>> Any thoughts?
>>>
>>> Mark Tanner
>>>
>>> From: Tilman
g their expected results.
Any thoughts?
Mark Tanner
From: Tilman Hausherr [thaush...@t-online.de]
Sent: 09 February 2018 18:50
To: dev@pdfbox.apache.org
Subject: Re: [DISCUSS] return values for functions
Am 09.02.2018 um 19:20 schrieb Andreas Lehmkuehler:
This will also allow us to customize the message of the exception and let the
> user know why they aren't getting their expected results.
>
> Any thoughts?
>
> Mark Tanner
>
> From: Tilman Hausherr [thaush...@t-online.de]
> Sen
st. So it isn't abnormal, so an exception wouldn't make sense.
Tilman
Any thoughts?
Mark Tanner
From: Tilman Hausherr [thaush...@t-online.de]
Sent: 09 February 2018 18:50
To: dev@pdfbox.apache.org
Subject: Re: [DISCUSS] return values for function
2018 18:50
To: dev@pdfbox.apache.org
Subject: Re: [DISCUSS] return values for functions
Am 09.02.2018 um 19:20 schrieb Andreas Lehmkuehler:
> Am 17.01.2018 um 18:41 schrieb Maruan Sahyoun:
>> Hi,
>>
>> many of our methods return null in case an entry can not be found
>> p
Am 09.02.2018 um 19:20 schrieb Andreas Lehmkuehler:
Am 17.01.2018 um 18:41 schrieb Maruan Sahyoun:
Hi,
many of our methods return null in case an entry can not be found
potentially causing NPEs. For 3.0 what about starting to change that
so we return the expected object in the PDModel althoug
> Am 09.02.2018 um 19:20 schrieb Andreas Lehmkuehler :
>
> Am 17.01.2018 um 18:41 schrieb Maruan Sahyoun:
>> Hi,
>> many of our methods return null in case an entry can not be found
>> potentially causing NPEs. For 3.0 what about starting to change that so we
>> return the expected object in th
Am 17.01.2018 um 18:41 schrieb Maruan Sahyoun:
Hi,
many of our methods return null in case an entry can not be found potentially
causing NPEs. For 3.0 what about starting to change that so we return the
expected object in the PDModel although I understand that this might mean that
for some ti
I have read about this concept "don't use null, return empty list
instead" often and I like it... I haven't changed anything here because
I'm always wondering whether there could be a case where we want to know
whether the object is missing, or when we write back the object and a
PDF would then