to get out of a method that has no return type, simply make the call:

return;


Since there is no return type, java will not expect anything to be returned, which makes this a legal statement.