code: @FFDCIgnore(PrivilegedActionException.class)
      private Object getJNDIServiceObjectInstance(final String className, final String bindingName, final Hashtable<?, ?> envmt) throws Exception {
          try {
              return AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
                  @Override
                  public Object run() throws Exception {
                      return getJNDIServiceObjectInstancePrivileged(className, bindingName, envmt);
                  }
              });
          } catch (PrivilegedActionException paex) {
              Throwable cause = paex.getCause();
              if (cause instanceof Exception) {
                  throw (Exception) cause;
              }
              throw new Error(cause);
          }
      }
docs: Try to get an object instance by looking in the OSGi service registry
  similar to how /com.ibm.ws.jndi/ implements the default namespace.
  
  @return the object instance, or null if an object could not be found