Fixed issue with exception message not being returned by what().