Is it possible to return nothing with a non-void method if a certain condition is not met