Would it be more reasonable to have line 142 - 144 outside the method and leave it to caller's hands to deal with what the next steps should be? With these 3 lines and "exit" in here, whatever code after the line where this method gets called becomes useless.