code: protected SentryException createSentryExceptionFrom(IThrowableProxy throwableProxy,
                                                          StackTraceInterface stackTrace) {
          String exceptionMessage = throwableProxy.getMessage();
          String[] packageNameSimpleName = extractPackageSimpleClassName(throwableProxy.getClassName());
          String exceptionPackageName = packageNameSimpleName[0];
          String exceptionClassName = packageNameSimpleName[1];
  
          return new SentryException(exceptionMessage, exceptionClassName, exceptionPackageName, stackTrace);
      }
docs: Given a {@link IThrowableProxy} and a {@link StackTraceInterface} return
  a {@link SentryException} to be reported to Sentry.
  
  @param throwableProxy Information detailing a Throwable
  @param stackTrace The stacktrace associated with the Throwable.
  
  @return A {@link SentryException} object ready to be sent to Sentry.