log.debug("Good hash confirmed from server");
}
else
{
log.debug("Invalid hash: The server did not recognise this hash");
throw new InvalidReferenceException("The server did not recognise this hash: " + reference.getHash());
}
}
catch (ClassNotFoundException e)
{
throw new IOException("Unable to locate class from stream", e);