libsbmlcs.XMLError.isWarning C# (CSharp) Method

isWarning() public method

public isWarning ( ) : bool
return bool
        public bool isWarning()
        {
            bool ret = libsbmlPINVOKE.XMLError_isWarning(swigCPtr);
            return ret;
        }

Usage Example

Example #1
0
 public void test_XMLError_create_C()
 {
     XMLError error = new  XMLError();
       assertTrue( error != null );
       assertTrue( error.isInfo() == false );
       assertTrue( error.isWarning() == false );
       assertTrue( error.isError() == false );
       assertTrue( error.isFatal() == true );
       error = null;
       error = new  XMLError(12345, "My message");
       assertTrue( (  "My message" != error.getMessage() ) == false );
       assertTrue( error.getErrorId() == 12345 );
       error = null;
 }