public void add(SBMLError error) { libsbmlPINVOKE.SBMLErrorLog_add(swigCPtr, SBMLError.getCPtr(error)); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); }