Android: Error handling in generated code [#61886914]