Please throw an exception instead of printStacktrace.