public function isGoneAwayInUpdateException(\Exception $exception)
{
$message = $exception->getMessage();
foreach ($this->goneAwayInUpdateExceptions as $goneAwayException) {
if (stripos($message, $goneAwayException) !== false) {
return true;
}
}
return false;
}