exception handling in output generation