Exception only when needed to read from console.