ResponseUnmarshaller responseUnmarshaller = new ResponseUnmarshaller(store, xmlr);
responseUnmarshaller.skip();
if (!"artist".equals(xmlr.getLocalName())) {
throw new DespotifyException("Expected document root to be of type <artist>");
}
Artist artist = responseUnmarshaller.unmarshallArtist(new Date());
if (!this.artist.equals(artist)) {
throw new DespotifyException("Artist in response has different UUID than the requested artist!");
}
} catch (XMLStreamException e) {
throw new DespotifyException(e);