* to the content language used for this operation.
* @throws OntologyException if the content of the message is not compliant
* to the ontology used for this operation.
*/
public ContentElement extractContent(ACLMessage msg) throws CodecException, UngroundedException, OntologyException {
Codec codec = lookupLanguage(msg.getLanguage());
if (codec == null) {
throw new CodecException("Unknown language "+msg.getLanguage());
}
String ontoName = msg.getOntology();
Ontology o = null;