public SBMLError getErrorWithSeverity(long n, long severity) { IntPtr cPtr = libsbmlPINVOKE.SBMLDocument_getErrorWithSeverity(swigCPtr, n, severity); SBMLError ret = (cPtr == IntPtr.Zero) ? null : new SBMLError(cPtr, false); return ret; }