Removed stringdependancy of exception message