libsbml.libsbmlPINVOKE.SWIGPendingException.Retrieve C# (CSharp) Method

Retrieve() public static method

public static Retrieve ( ) : Exception
return System.Exception
    public static Exception Retrieve() {
      Exception e = null;
      if (numExceptionsPending > 0) {
        if (pendingException != null) {
          e = pendingException;
          pendingException = null;
          lock(typeof(libsbmlPINVOKE)) {
            numExceptionsPending--;
          }
        }
      }
      return e;
    }
  }
libsbmlPINVOKE.SWIGPendingException