Added events when cluster data can not be parsed and fixed bug in onError method related to checking exception type