public bool placeOrder(Order order) { bool ret = ContextModulePINVOKE.Context_placeOrder(swigCPtr, Order.getCPtr(order)); if (ContextModulePINVOKE.SWIGPendingException.Pending) { throw ContextModulePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }