public void subscribe(Instrument t) { ContextModulePINVOKE.Context_subscribe(swigCPtr, Instrument.getCPtr(t)); if (ContextModulePINVOKE.SWIGPendingException.Pending) { throw ContextModulePINVOKE.SWIGPendingException.Retrieve(); } }