For example, if you have a list of names: "foo", "bar", "baz"; and the value is "baz", then "baz" would be returned. If the value was "whiffle", then an exception would be thrown, since this value does not appear in the list of legal values. The list of legal values is set with addEnumLegalValue.
Exception Type | Condition |
---|---|
TipcNotFoundException | If the value cannot be converted into a valid enum. |
TipcOption Class | TipcOption Members | TIBCO.SMARTSOCKETS Namespace