} catch( SAXException e ) {
throw new RuntimeException( e );
}
try {
manager.saveOntology( ontology, new StreamOutputTarget( out ) );
} catch( UnknownOWLOntologyException e ) {
throw new RuntimeException( e );
} catch( OWLOntologyStorageException e ) {
throw new IOException( e.getMessage() );
}