TEZ-1703. Exception handling for InputInitializer. (zjffdu)

(cherry picked from commit 4ec29425d63decfd8de4e1528f043271cf7cb3b2)