Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] why displayErrors(errors) show error?

dragonKnight hoho8419 at 163.com
Thu Mar 19 01:31:38 PDT 2009


JenaOWLModel owlModel = ProtegeOWL.createJenaOWLModel();
				owlModel.getNamespaceManager().setDefaultNamespace("http://hello.com#");
				Project fileProject = owlModel.getProject();
		        OWLDatabaseKnowledgeBaseFactory factory = new
OWLDatabaseKnowledgeBaseFactory();
		        PropertyList sources =
PropertyList.create(fileProject.getInternalProjectKnowledgeBase());
		     
		        DatabaseKnowledgeBaseFactory.setSources(sources, driver, url,
table, user, password);
		        factory.saveKnowledgeBase(owlModel, sources, errors);
                System.out.println("ok");
(×)                displayErrors(errors);
....
the eror said the method displayErrors() is undefined.
How can I solve this problem?
-- 
View this message in context: http://www.nabble.com/why--displayErrors%28errors%29-show-error--tp22595086p22595086.html
Sent from the Protege - OWL mailing list archive at Nabble.com.




More information about the protege-owl mailing list