break out of a controller

Is there a nice way to break out of the execution of a controller if you find a nil object?

What do you want the behavior to be in this case?