public static void salConnect(StringVector hostNames) { StcIntCSharpPINVOKE.salConnect(StringVector.getCPtr(hostNames)); if (StcIntCSharpPINVOKE.SWIGPendingException.Pending) { throw StcIntCSharpPINVOKE.SWIGPendingException.Retrieve(); } }