Changing stack overflow to be a trifle exception.