Throw runtime exceptions on critical errors.