Fixed exception message in RestMethodInfo