Returns a copy of this configuration exception with the specified partial value.
764495
public ConfigurationException withPartialValue(Object partialValue) {
    checkState(this.partialValue == null,
        "Can't clobber existing partial value %s with %s", this.partialValue, partialValue);
    ConfigurationException result = new ConfigurationException(messages);
    result.partialValue = partialValue;
    return result;
  }
627195
function _getConfig() {
        var copy = {},
            property;

        for (property in _config) {
            if (_config.hasOwnProperty(property)) {
                copy[property] = _config[property];
            }
        }
 
        return copy;
    }
917987
public static <T> CompletableFuture<T> failedFuture(Throwable exception) {
        CompletableFuture<T> result = new CompletableFuture<>();
        result.completeExceptionally(exception);
        return result;
    }
224238
protected CmsResourceTypeConfig copy(boolean disabled) {

        return new CmsResourceTypeConfig(
            m_typeName,
            m_disabled || disabled,
            getFolderOrName(),
            m_namePattern,
            m_detailPagesDisabled,
            isAddDisabled(),
            isCreateDisabled(),
            m_elementView,
            m_localization,
            m_showInDefaultView,
            m_copyInModels,
            m_order,
            m_elementDeleteMode);
    }
929303
def from_exception(cls, exception, retain_exc_info=True,
                       cause=None, find_cause=True):
        """"""
        exc_info = (
            type(exception),
            exception,
            getattr(exception, '__traceback__', None)
        )
        return cls.from_exc_info(exc_info=exc_info,
                                 retain_exc_info=retain_exc_info,
                                 cause=cause, find_cause=find_cause)
730276
public SimpleConfiguration orElse(SimpleConfiguration fallback) {
    SimpleConfiguration copy = new SimpleConfiguration(this);
    for (Map.Entry<String, String> entry : fallback.toMap().entrySet()) {
      if (!copy.containsKey(entry.getKey())) {
        copy.setProperty(entry.getKey(), entry.getValue());
      }
    }
    return copy;
  }
146659
public ExtractorConfig<T> putValue(String key, Serializable value) {
        values.put(key, value);
        return this;
    }
376989
protected NlsRuntimeException createCopyViaClone(ExceptionTruncation truncation) {

    NlsRuntimeException copy = (NlsRuntimeException) JavaScriptUtil.getInstance().clone(this);
    return copy;
  }
831963
public static Throwable getConfigException()
  {
    ClassLoader loader = Thread.currentThread().getContextClassLoader();

    for (; loader != null; loader = loader.getParent()) {
      if (loader instanceof EnvironmentClassLoader) {
        EnvironmentClassLoader envLoader = (EnvironmentClassLoader) loader;

        if (envLoader.getConfigException() != null)
          return envLoader.getConfigException();
      }
    }

    return null;
  }
467962
def generate(cls, partial_props=None):
        
        partial_props = partial_props or {}
        props = partial_props.copy()
        props.update(cls.DEFAULT_PROPERTIES)
        return cls(props)
222901
def perform_partial_update(self, data, instance):
        

        for key, val in data.items():
            setattr(instance, key, val)
134434
@PUT
    @Consumes(Servlets.JSON_MEDIA_TYPE)
    @Produces(Servlets.JSON_MEDIA_TYPE)
    @Path("/guid/{guid}")
    public EntityMutationResponse partialUpdateEntityAttrByGuid(@PathParam("guid") String guid,
                                                                @QueryParam("name") String attrName,
                                                                Object attrValue) throws Exception {
        AtlasPerfTracer perf = null;

        try {
            if (AtlasPerfTracer.isPerfTraceEnabled(PERF_LOG)) {
                perf = AtlasPerfTracer.getPerfTracer(PERF_LOG, "EntityREST.partialUpdateEntityAttrByGuid(" + guid + "," + attrName + ")");
            }

            return entitiesStore.updateEntityAttributeByGuid(guid, attrName, attrValue);
        } finally {
            AtlasPerfTracer.log(perf);
        }
    }
47579
public static hanode_partialfailureinterfaces_binding[] get(nitro_service service, Long id) throws Exception{
		hanode_partialfailureinterfaces_binding obj = new hanode_partialfailureinterfaces_binding();
		obj.set_id(id);
		hanode_partialfailureinterfaces_binding response[] = (hanode_partialfailureinterfaces_binding[]) obj.get_resources(service);
		return response;
	}
1232417
def partial_to_complete_sha_hex(self, partial_hexsha):
        """"""
        try:
            hexsha, typename, size = self._git.get_object_header(partial_hexsha)  # @UnusedVariable
            return hex_to_bin(hexsha)
        except (GitCommandError, ValueError):
            raise BadObject(partial_hexsha)
603607
public PmiModuleConfig copy() {
        PmiModuleConfig r = new PmiModuleConfig(UID);

        // Only description is translatable
        if (description != null)
            r.description = new String(description);

        r.mbeanType = mbeanType;
        r.statsNLSFile = statsNLSFile;
        r.hasSubMod = hasSubMod;
        r.dependList = dependList;

        if (perfData != null) {
            Iterator allData = perfData.values().iterator();
            while (allData.hasNext()) {
                PmiDataInfo dataInfo = (PmiDataInfo) allData.next();
                r.perfData.put(new Integer(dataInfo.getId()), dataInfo.copy());
            }
        }

        return r;
    }
296910
public ServerConfiguration copy() throws IOException {
        ReadableByteArrayOutputStream out = new ReadableByteArrayOutputStream();
        serialize(out);
        return new ServerConfigurationParser(out.toInputStream()).parse();
    }
126015
public Object setValue4StaticFileItem(Object value) throws Exception {

        if (setMethod != null) {
            setMethod.invoke(null, value);
        } else {
            field.set(null, value);
        }

        return value;
    }