Skip to content

Build without exceptions and turn-off bubbling up exceptions to Obj-C specifically #856

Description

There are several spots in code that use exceptions:

  • DataViewerCollection.cpp
  • LogManagerImpl.cpp - handling of a scenario when invalid HTTP client module is being passed to it.
  • EventFilterCollection.cpp
  • HTTP Clients for Android and C API (MIP SDK implementation)
  • LogManager_jni.cpp - Android only
  • and a few custom modules - Sid Dahiya (@sid-dahiya)

In general, we do not have that many instances. Core SDK is mostly exception-free.

We need to consider permanently turning exceptions off, esp. for platforms that project the API to other programming languages: Obj-C, Java, Xamarin. In that case we need a mechanism to implement return status codes instead for all places in code, where exceptions may be thrown.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Issues that are not blockingiOSiOS related issueobj-cObjective-C wrapper related SDK issues

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions