BATCH-2092: Added access to line input when an exception is thrown