code: @Override
      @FFDCIgnore(Exception.class)
      public String mapCertificate(X509Certificate[] chain) throws CertificateMapNotSupportedException, CertificateMapFailedException, RegistryException {
          try {
              String returnValue = loginBridge.mapCertificate(chain);
              return returnValue;
          } catch (Exception excp) {
              if (excp instanceof CertificateMapFailedException) {
                  throw (CertificateMapFailedException) excp;
              } else if (excp instanceof CertificateMapNotSupportedException) {
                  throw (CertificateMapNotSupportedException) excp;
              } else if (excp instanceof RegistryException) {
                  throw (RegistryException) excp;
              } else {
                  throw new RegistryException(excp.getMessage(), excp);
              }
          }
      }
docs: {@inheritDoc}