-
Aug 8th, 2011, 02:45 AM
#1
Expected failure behavior of Converter/ConversionService
Hi,
I am looking at the new conversion service of Spring 3.0 and I am not sure to fully understand the programmatic API.
It seems to me that in case of error both Converter and ConverstionService can either return null or throw specific RuntimeException.
Is that the truth? Or is there some, maybe undocumented, standard?
The consequence is that anybody using this API will need to check for a null return and do a catch/try each time a Converter/ConversionService is called...
If that the case, I will probably write wrappers for myself but it is glue code not code directly useful for my application.
Regards
Bertrand
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules