Well, firstly, you wouldn't have a processRow method. You'd have the methods that were real such as deleteRow. If you're trying to delete from an empty Vector, you could simply allow the RuntimeException to be thrown. The most you would do is wrap the Exception in your own custom Exception class