code: @Override
      protected boolean exclude( final String name, Object value ) {
          try {
              if (legacySessionExcludeMethod != null) {
                  return (Boolean) legacySessionExcludeMethod.invoke(this, name);
              } else {
                  return super.exclude(name, value);
              }
          } catch (InvocationTargetException e) {
              if (e.getCause() instanceof RuntimeException) {
                  throw (RuntimeException) e.getCause();
              }
              throw new RuntimeException("Failed to invoke StandardSession#exclude(String) method.", e);
          } catch (IllegalAccessException e) {
              throw new RuntimeException("Can not access StandardSession#exclude(String) method.", e);
          }
      }
docs: {@inheritDoc}