Do not block when nothing is passed via stdin.
Use exceptions for in input validation.