404-not-find / orika

Automatically exported from code.google.com/p/orika
2 stars 0 forks source link

is there a way to access the root objects from within a CustomConverter? #172

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have various custom converters, which sometimes choke on the content they are 
trying to process (nothing to do with Orika). 
I would like to be able to log a meaningful exception for these cases, and then 
continue processing the rest of the mapping.

To this end I need access to the root object from within the customconverter so 
that I can log its identity along with the error. I don't see any way to do 
that at the moment. 
Have I missed something? 

if this feature does not exist, then I'd like to request it :) 

Original issue reported on code.google.com by jeaco...@gmail.com on 27 Aug 2014 at 6:50