throw new IllegalStateException( "reader has no input" );
}
return reader.<T> read( name );
} catch ( final RuntimeException e ) {
LOG.warn( "Caught Exception decoding "+ in.length +" bytes of data", e );
throw new TranscoderDeserializationException(e);
} catch ( final XMLStreamException e ) {
LOG.warn( "Caught Exception decoding "+ in.length +" bytes of data", e );
throw new TranscoderDeserializationException( e );
} finally {
closeSilently( reader );
}
}