code: @Override
      @FFDCIgnore(PrivilegedActionException.class)
      public URL getResource() {
          try {
              URL url = (URL) AccessController.doPrivileged(
                              new PrivilegedExceptionAction() {
                                  @Override
                                  public URL run() throws MalformedURLException {
                                      return file.toURI().toURL();
                                  }
                              }
                              );
              return url;
          } catch (PrivilegedActionException e) {
              return null;
          }
      }
docs: {@inheritDoc}