Ensuring command exceptions are thrown and setting eaten exception results to null