Exception::getMessage lets us getting the Exception message and Exception::getLine lets us getting the line in which the exception occurred.