using exception.ToString - sync code