Code example for SAXNotRecognizedException

Methods: getMessage

0
parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
    } 
    catch (SAXNotRecognizedException e)
    { 
      Assert.assertNull("WARNING! Test was not run: "+e.getMessage()+" is not supported", e);
    } 
    catch (SAXNotSupportedException e)
    { 
      Assert.assertNull("WARNING! Test was not run: "+e.getMessage()+" is not supported", e);
    } 
 
    // Add in the right order the files to compare with the output 
    multipleInheritanceA = BASE_ECORE_URI + "multipleInheritanceA.ecore";
    multipleInheritanceB = BASE_ECORE_URI + "multipleInheritanceB.ecore";
    multipleInheritanceB1 = BASE_ECORE_URI + "multipleInheritanceB1.ecore";
 
  } 
 
  public void testMultipleInheritanceA() throws Exception 
  {