owner icon indicating copy to clipboard operation
owner copied to clipboard

Handling of error in type conversions

Open friscoMad opened this issue 8 years ago • 0 comments

We are using owner in our project as we use a lot of property files and type conversion and default values are a fantastic feature that we usually had to reimplement every time.

But I have been testing unexpected errors lately and found that when there is a type conversion exception it is thrown to the application even if a default value is set, I could understand that if the default value is not convertible that could happen but not with the configured values, even if there is no configured value like when the line is simply "property =".

I understand that it could be the desired result for some people but for us it would be nice if we can delegate the error handling to owner, instead of doing it for every value on our side.

friscoMad avatar Jan 20 '17 10:01 friscoMad