Sets the opBend attribute stored into the parameter set

@exception  Exception  Description of the Exception
163225
private void setOpBend() throws Exception {
        List data = new Vector();
        st.nextToken();
        String sid1 = st.nextToken();
        String sid2 = st.nextToken();
        String value1 = st.nextToken();

        try {
            double va1 = new Double(value1).doubleValue();
            data.add(new Double(va1));
            key = "opbend" + sid1 + ";" + sid2;
            if (parameterSet.containsKey(key)) {
                //logger.debug("KeyError: hasKey "+key);
                data = (Vector) parameterSet.get(key);
                data.add(new Double(va1));
            }
            parameterSet.put(key, data);

        } catch (NumberFormatException nfe) {
            throw new IOException("setOpBend: Malformed Number");
        }

    }
1180849
public static void setAttribute(String key, Object value) {
        assertInitialized();
        getAppFramework().setAttribute(key, value);
    }
766777
public void setParameter(final int parameterIndex, final ParameterHolder holder)
      throws SQLException {
    if (parameterIndex >= 1 && parameterIndex < prepareResult.getParamCount() + 1) {
      parameters[parameterIndex - 1] = holder;
    } else {
      String error = "Could not set parameter at position " + parameterIndex
          + " (values was " + holder.toString() + ")\n"
          + "Query - conn:" + protocol.getServerThreadId()
          + "(" + (protocol.isMasterConnection() ? "M" : "S") + ") ";

      if (options.maxQuerySizeToLog > 0) {
        error += " - \"";
        if (sqlQuery.length() < options.maxQuerySizeToLog) {
          error += sqlQuery;
        } else {
          error += sqlQuery.substring(0, options.maxQuerySizeToLog) + "...";
        }
        error += "\"";
      } else {
        error += " - \"" + sqlQuery + "\"";
      }

      logger.error(error);
      throw ExceptionMapper.getSqlException(error);
    }
  }
898397
@Override
    public <E> SetAttribute<X, E> getDeclaredSet(String paramName, Class<E> paramClass)
    {
        PluralAttribute<X, ?, ?> declaredAttrib = getDeclaredPluralAttribute(paramName);

        if (onCheckSetAttribute(declaredAttrib, paramClass))
        {
            return (SetAttribute<X, E>) declaredAttrib;
        }
        throw new IllegalArgumentException(
                "attribute of the given name and type is not present in the managed type, for name:" + paramName
                        + " , type:" + paramClass);
    }
1278503
@PostConstruct
  public void init()
    throws Exception
  {
    if (_encoding == null)
      throw new ConfigException(L.l("character-encoding requires a 'value' attribute with the character encoding."));

    _localEncoding.set(_encoding);
  }
246412
@Override
	public void setAttribute(String name, Object value) {
		attributesSupport.setAttribute(name, value);
	}
94807
@Override
    public void afterPropertiesSet() throws Exception {
        if (this.cacheKeyGenerator == null) {
            final AttributeBasedCacheKeyGenerator cacheKeyGenerator = new AttributeBasedCacheKeyGenerator();
            cacheKeyGenerator.setCacheKeyAttributes(this.cacheKeyAttributes);

            final IUsernameAttributeProvider usernameAttributeProvider = this.getUsernameAttributeProvider();
            final String usernameAttribute = usernameAttributeProvider.getUsernameAttribute();
            cacheKeyGenerator.setDefaultAttributeName(usernameAttribute);
            this.cacheKeyGenerator = cacheKeyGenerator;
        }
    }
1087946
public void set(String name, Object obj) throws IOException {
        if (name.equalsIgnoreCase(KEY)) {
            this.key = (PublicKey)obj;
        } else {
            throw new IOException("Attribute name not recognized by " +
                                  "CertAttrSet: CertificateX509Key.");
        }
    }
1259220
def set_exception(self, exception):
        """"""
        self.set_exc_info(
            (exception.__class__,
             exception,
             getattr(exception, '__traceback__', None)))
760340
public void setAttribute(ObjectName name, String attrName, Object value) throws Exception {
		checkClientConnected();
		Attribute attribute = new Attribute(attrName, value);
		mbeanConn.setAttribute(name, attribute);
	}
794457
void setParameter(String name, Object value) throws Exception
  {
    logger.debug("public void setParameter");

    try
    {
      if (this.sfStatement != null)
      {
        this.sfStatement.addProperty(name, value);
      }
    }
    catch (SFException ex)
    {
      throw new SnowflakeSQLException(ex);
    }
  }
339389
def set_exception(self, exception):
        '''  '''
        logger.error("%s : %s" % (exception.__class__.__name__, str(exception)))
        self._set_status(enumAsperaControllerStatus.FAILED, exception)
61684
public void setOptions(String[] options) throws Exception {
    String		tmpStr;
    String[]		tmpOptions;
    Vector<String>	search;
    int			i;
    AbstractParameter[]	params;

    search = new Vector<String>();
    do {
      tmpStr = Utils.getOption("search", options);
      if (tmpStr.length() > 0)
	search.add(tmpStr);
    }
    while (tmpStr.length() > 0);
    if (search.size() == 0)
      throw new IllegalArgumentException("No search parameters provided!");
    params = new AbstractParameter[search.size()];
    for (i = 0; i < search.size(); i++) {
      tmpOptions    = Utils.splitOptions(search.get(i));
      tmpStr        = tmpOptions[0];
      tmpOptions[0] = "";
      params[i]     = (AbstractParameter) Utils.forName(AbstractParameter.class, tmpStr, tmpOptions);
    }
    setParameters(params);
  }
661442
public void setAttributes(String domainName, String beanName, List<Attribute> attributes) throws Exception {
		setAttributes(ObjectNameUtil.makeObjectName(domainName, beanName), attributes);
	}
304401
public void setAttribute(String key, Object attribute) {

		if (!isValid())
			throw new IllegalStateException(
					"Can not bind object to session that has been invalidated!!");

		if (key == null)
			throw new NullPointerException(
					"Name of attribute to bind cant be null!!!");
		if (attribute == null)
			throw new NullPointerException(
					"Attribute that is to be bound cant be null!!!");

		// Construct an event with the new value
		SipApplicationSessionBindingEvent event = null;

        // Call the valueBound() method if necessary
        if (attribute instanceof SipApplicationSessionBindingListener) {
            // Don't call any notification if replacing with the same value
            Object oldValue = getAttributeMap().get(key);
            if (attribute != oldValue) {
            	event = new SipApplicationSessionBindingEvent(this, key);
                try {
                    ((SipApplicationSessionBindingListener) attribute).valueBound(event);
                } catch (Throwable t){
                	logger.error("SipSessionBindingListener threw exception", t);
                }
            }
        }

		Object previousValue = this.getAttributeMap().put(key, attribute);

		if (previousValue != null && previousValue != attribute &&
	            previousValue instanceof SipApplicationSessionBindingListener) {
            try {
                ((SipApplicationSessionBindingListener) previousValue).valueUnbound
                    (new SipApplicationSessionBindingEvent(this, key));
            } catch (Throwable t) {
            	logger.error("SipSessionBindingListener threw exception", t);
            }
        }

		SipListeners listeners = sipContext.getListeners();
		List<SipApplicationSessionAttributeListener> listenersList = listeners.getSipApplicationSessionAttributeListeners();
		if(listenersList.size() > 0) {
			if(event == null) {
				event = new SipApplicationSessionBindingEvent(this, key);
			}
			if (previousValue == null) {
				for (SipApplicationSessionAttributeListener listener : listenersList) {
					if(logger.isDebugEnabled()) {
						logger.debug("notifying SipApplicationSessionAttributeListener " + listener.getClass().getCanonicalName() + " of attribute added on key "+ key);
					}
					try {
						listener.attributeAdded(event);
					} catch (Throwable t) {
						logger.error("SipApplicationSessionAttributeListener threw exception", t);
					}
				}
			} else {
				for (SipApplicationSessionAttributeListener listener : listenersList) {
					if(logger.isDebugEnabled()) {
						logger.debug("notifying SipApplicationSessionAttributeListener " + listener.getClass().getCanonicalName() + " of attribute replaced on key "+ key);
					}
					try {
						listener.attributeReplaced(event);
					} catch (Throwable t) {
						logger.error("SipApplicationSessionAttributeListener threw exception", t);
					}
				}
			}
		}
	}
1331349
private void setDefaultStrBnd() throws Exception {
        LOG.debug("Sets the Default Stretch-Bend Parameters");
        List data = new Vector();
        stDFSB.nextToken();
        String sIR = stDFSB.nextToken();
        String sJR = stDFSB.nextToken();
        String sKR = stDFSB.nextToken();
        String skbaIJK = stDFSB.nextToken();
        String skbaKJI = stDFSB.nextToken();

        try {
            key = "DFSB" + sIR + ";" + sJR + ";" + sKR;
            double kbaIJK = new Double(skbaIJK).doubleValue();
            double kbaKJI = new Double(skbaKJI).doubleValue();
            data.add(new Double(kbaIJK));
            data.add(new Double(kbaKJI));
            parameterSet.put(key, data);

        } catch (NumberFormatException nfe) {
            throw new IOException("setDFSB: Malformed Number due to:" + nfe);
        }
    }
12127
private void setForceFieldDefinitions() throws Exception {
        String sid = st.nextToken();
        String svalue = st.nextToken();
        if (sid.equals(">bontunit")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">bond-cubic")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">bond-quartic")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">angleunit")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">angle-sextic")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">strbndunit")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">opbendunit")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">torsionunit")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">vdwtype")) {
            key = sid.substring(1);
            //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
            parameterSet.put(key, svalue);
        } else if (sid.equals(">radiusrule")) {
            key = sid.substring(1);
            //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
            parameterSet.put(key, svalue);
        } else if (sid.equals(">radiustype")) {
            key = sid.substring(1);
            //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
            parameterSet.put(key, svalue);
        } else if (sid.equals(">radiussize")) {
            key = sid.substring(1);
            //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
            parameterSet.put(key, svalue);
        } else if (sid.equals(">epsilonrule")) {
            key = sid.substring(1);
            //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
            parameterSet.put(key, svalue);
        } else if (sid.equals(">a-expterm")) {
            try {
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, svalue);
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals("b-expterm")) {
            try {
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, svalue);
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">c-expterm")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">vdw-14-scale")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">chg-14-scale")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else if (sid.equals(">dielectric")) {
            try {
                double value1 = new Double(svalue).doubleValue();
                key = sid.substring(1);
                //if (parameterSet.containsKey(key)){logger.debug("KeyError: hasKey "+key);}
                parameterSet.put(key, new Double(value1));
            } catch (NumberFormatException nfe) {
                throw new IOException("VdWaalsTable.ReadvdWaals: " + "Malformed Number");
            }
        } else {
        }
    }