don't do printStackTrace(). Use a logger to say that you didn't met the condition yet