private void exposeIdentity(final CryptoCustomerIdentity identity)
      throws CantExposeActorIdentityException {

    try {

      cryptoCustomerANSManager.exposeIdentity(
          new CryptoCustomerExposingData(
              identity.getPublicKey(), identity.getAlias(), identity.getProfileImage()));

    } catch (final CantExposeIdentityException e) {

      errorManager.reportUnexpectedPluginException(
          this.getPluginVersionReference(),
          UnexpectedPluginExceptionSeverity.DISABLES_SOME_FUNCTIONALITY_WITHIN_THIS_PLUGIN,
          e);
      throw new CantExposeActorIdentityException(e, "", "Problem exposing identity.");
    }
  }