There is another bc break and code error:
Let $e->getCode() return an object. You will receive a php notice.