commit | 3f3b1e4cad13e7fb74cd330dd1d5a93ecb41230c | [log] [tgz] |
---|---|---|
author | Alistair Delva <adelva@google.com> | Wed Aug 05 10:28:09 2020 -0700 |
committer | Alistair Delva <adelva@google.com> | Wed Aug 05 10:43:35 2020 -0700 |
tree | e87dc5d12a786cb8f108ed48db160f5f7225ca6d | |
parent | 343a64df887c437b2cec95e1ff13f8057733292b [diff] |
javascript: replace exceptions with SWIG_exit When building SWIG for Android, there is no support for C++ exceptions. In the cases there is "Illegal state", it seems more like an internal error, so we can replace the throw calls with a debug print and exit immediately. Bug: 162801433 Change-Id: I8096656f5a9f333ac2f4704438116ac8621b8193