Sets the fault to endpoint reference by string.
@param faultTo the faultTo to set
543736
public void setFaultTo(String faultTo) {
        try {
            this.faultTo = new EndpointReference(new URI(faultTo));
        } catch (URISyntaxException e) {
            throw new CitrusRuntimeException("Invalid faultTo uri", e);
        }
    }
883501
public void setEndpoints(java.util.Collection<Endpoint> endpoints) {
        if (endpoints == null) {
            this.endpoints = null;
            return;
        }

        this.endpoints = new java.util.ArrayList<Endpoint>(endpoints);
    }
773854
void setError(Exception error) {
    if (this.error != null) {
      throw new IllegalStateException(
          "Cannot reassign the error value of a response!");
    }
    this.error = error;
    this.complete = true;
    try {
      this.states.put(RESPONSE_COMPLETE);
    } catch (InterruptedException e) {
      log.error("Interrupted trying to indicate an error condition.", e);
    }
  }
777022
@Override
    public void set(String propName, Object value) {
        if (propName.equals("checkPoint")) {
            getCheckPoint().add(((com.ibm.wsspi.security.wim.model.CheckPointType) value));
        }
        super.set(propName, value);
    }
1188010
public synchronized void setJobAsFailed(String errorMessage) {
    mJobInfo.setStatus(Status.FAILED);
    mJobInfo.setErrorMessage(errorMessage);
  }
851819
@Override
	public final void setJMSDestination(Destination destination) throws JMSException
    {
    	assertDeserializationLevel(MessageSerializationLevel.FULL);
        this.destination = DestinationTools.asRef(destination);
    }
273060
public void setSingleValue(final EndPoint<T> value) throws MIDDException {
        this.upperBound = this.lowerBound = new EndPoint<>(value);
        this.lowerBoundClosed = this.upperBoundClosed = true;

    }
142919
public void constructFault(FaultException faultException, Object argument)
	{
		
		//check argument
		if(argument != null && faultException.getArgument() == null)
			faultException.setArgument(argument);
		

		StackTraceElement stackTraceElement = null;
		if(faultException.getModule() == null)
		{
			if(this.defaultModule != null && this.defaultModule.length() > 0)
				faultException.setModule(defaultModule);
			else
			{
				stackTraceElement = determineCauseStackTraceElementsn(faultException);
				
				if(stackTraceElement != null)
					faultException.setModule(stackTraceElement.getFileName());
			}
				
		}
		
		if(faultException.getOperation() == null)
		{
			if(this.defaultOperation != null && this.defaultOperation.length() > 0)
				faultException.setOperation(this.defaultOperation);
			else
			{
				if(stackTraceElement == null)
					stackTraceElement = determineCauseStackTraceElementsn(faultException);
				
				if(stackTraceElement != null)
					faultException.setOperation(stackTraceElement.getMethodName());
				
				
				//add line number
				if((faultException.getNotes() == null || faultException.getNotes().length() == 0) && stackTraceElement != null)
				{
					faultException.setNotes(lineNumberNotePrefix+stackTraceElement.getLineNumber());
					
				}
			}
			
			
		}
		
		
		
	}
653083
public final void setString(String s) {
        if (s == null) Kit.codeBug();
        ((Name)this).setIdentifier(s);
    }
788366
public static void throwException(Throwable t) {
        if (hasUnsafe()) {
            PlatformDependent0.throwException(t);
        } else {
            PlatformDependent.<RuntimeException>throwException0(t);
        }
    }
254408
public void setStrictErrorChecking(boolean arg0) {
	// dynamic load to support jre 1.4 and 1.5
	try {
	    Method m = doc.getClass().getMethod("setStrictErrorChecking", new Class[] { boolean.class });
	    m.invoke(doc, new Object[] { Caster.toBoolean(arg0) });
	}
	catch (Exception e) {
	    throw new PageRuntimeException(Caster.toPageException(e));
	}

    }
1304368
public void setEndpointConfigurations(java.util.Collection<EndpointConfiguration> endpointConfigurations) {
        if (endpointConfigurations == null) {
            this.endpointConfigurations = null;
            return;
        }

        this.endpointConfigurations = new java.util.ArrayList<EndpointConfiguration>(endpointConfigurations);
    }
922769
@com.fasterxml.jackson.annotation.JsonProperty("ErrorCode")
    public void setEmrErrorCode(String emrErrorCode) {
        this.emrErrorCode = emrErrorCode;
    }
773507
protected final void setRequiresCheckpoint()
    {
        final String methodName = "setRequiresCheckpoint";
        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.entry(this,
                        cclass,
                        methodName,
                        new Object[] { new Boolean(requiresPersistentCheckpoint) });

        // The states for which a checkpoint log Record must be written to the log unless this transactions ends first.
        // Has any logging been done? If The transaction enters one of thse states after this
        // call then all of its state will be in the log after CheckpointStart.
        final boolean checkpointRequired[] = { false
                                              , false
                                              , false
                                              , true // ActivePersistent.
                                              , false
                                              , false
                                              , true // PrePreparedPersistent.
                                              , false
                                              , false
                                              , true // PreparedPersistent.
                                              , false
                                              , false
                                              , true // CommitingPersistent. Not needed because of synchronize in commit.
                                              , false
                                              , false
                                              , true // BackingOutPersistent.  Not needed because of synchronize in commit.
                                              , false
        };

        requiresPersistentCheckpoint = checkpointRequired[state];

        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.exit(this,
                       cclass,
                       methodName,
                       new Object[] { new Boolean(requiresPersistentCheckpoint) });
    }
810938
private void validateEndpoint(String endpoint) {
        try {
            new URL(endpoint);
        } catch (MalformedURLException e) {
            throw new InvalidParameterException(Messages.i18n.format("OrganizationResourceImpl.InvalidEndpointURL")); //$NON-NLS-1$
        }
    }
408186
public void setReplyTo(String replyTo) {
        if (replyTo == null) {
            _properties.remove(AMQP_PROP_REPLY_TO);
            return;
        }
        
        _properties.put(AMQP_PROP_REPLY_TO, replyTo);
    }
404438
public void setOutboundInterface(SipURI outboundInterface) {
		if(outboundInterface == null) {
			throw new NullPointerException("outbound Interface param shouldn't be null");
		}
		List<SipURI> list = this.sipFactoryImpl.getSipNetworkInterfaceManager().getOutboundInterfaces();
		SipURI networkInterface = null;
		for(SipURI networkInterfaceURI : list) {
			if(networkInterfaceURI.equals(outboundInterface)) {
				networkInterface = networkInterfaceURI;
				break;
			}
		}
		
		if(networkInterface == null) throw new IllegalArgumentException("Network interface for " +
				outboundInterface + " not found");		
		
		this.outboundInterface = networkInterface;
	}