protected Object convert(Object parent, Class type, Converter converter) { types.push(type); try { return converter.unmarshal(reader, this); } catch (final ConversionException conversionException) { addInformationTo(conversionException, type, converter, parent); throw conversionException; } catch (RuntimeException e) { ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type, converter, parent); throw conversionException; } finally { types.popSilently(); } }
protected Object convert(Object parent, Class type, Converter converter) { types.push(type); try { return converter.unmarshal(reader, this); } catch (final ConversionException conversionException) { addInformationTo(conversionException, type, converter, parent); throw conversionException; } catch (RuntimeException e) { ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type, converter, parent); throw conversionException; } finally { types.popSilently(); } }
protected Object convert(final Object parent, final Class<?> type, final Converter converter) { types.push(type); try { return converter.unmarshal(reader, this); } catch (final ConversionException conversionException) { addInformationTo(conversionException, type, converter, parent); throw conversionException; } catch (final RuntimeException e) { final ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type, converter, parent); throw conversionException; } finally { types.popSilently(); } }
protected Object convert(Object parent, Class type, Converter converter) { try { types.push(type); Object result = converter.unmarshal(reader, this); types.popSilently(); return result; } catch (ConversionException conversionException) { addInformationTo(conversionException, type, converter, parent); throw conversionException; } catch (RuntimeException e) { ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type, converter, parent); throw conversionException; } }
protected Object convert(Object parent, Class type, Converter converter) { try { types.push(type); Object result = converter.unmarshal(reader, this); types.popSilently(); return result; } catch (ConversionException conversionException) { addInformationTo(conversionException, type, converter, parent); throw conversionException; } catch (RuntimeException e) { ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type, converter, parent); throw conversionException; } }
protected Object convert(Object parent, Class type, Converter converter) { try { types.push(type); Object result = converter.unmarshal(reader, this); types.popSilently(); return result; } catch (ConversionException conversionException) { addInformationTo(conversionException, type); throw conversionException; } catch (RuntimeException e) { ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type); throw conversionException; } }
protected Object convert(Object parent, Class type, Converter converter) { types.push(type); try { return converter.unmarshal(reader, this); } catch (final ConversionException conversionException) { addInformationTo(conversionException, type, converter, parent); throw conversionException; } catch (RuntimeException e) { ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type, converter, parent); throw conversionException; } finally { types.popSilently(); } }
protected Object convert(Object parent, Class type, Converter converter) { types.push(type); try { return converter.unmarshal(reader, this); } catch (final ConversionException conversionException) { addInformationTo(conversionException, type, converter, parent); throw conversionException; } catch (RuntimeException e) { ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type, converter, parent); throw conversionException; } finally { types.popSilently(); } }
protected Object convert(Object parent, Class type, Converter converter) { try { types.push(type); Object result = converter.unmarshal(reader, this); types.popSilently(); return result; } catch (ConversionException conversionException) { addInformationTo(conversionException, type); throw conversionException; } catch (RuntimeException e) { ConversionException conversionException = new ConversionException(e); addInformationTo(conversionException, type); throw conversionException; } }