Remove dynamic exceptions
[anna.git] / source / core / util / TextManager.cpp
index 6762aeb..982ba78 100644 (file)
@@ -22,7 +22,7 @@ TextManager::TextManager(const char* name) :
 }
 
 void TextManager::clear()
-throw() {
+{
   Guard guard(*this, "TextManager::clear");
 
   for(TextComposerVector::iterator ii = a_composers.begin(), maxii = a_composers.end(); ii != maxii; ii ++)
@@ -32,7 +32,7 @@ throw() {
 }
 
 void TextManager::create(const int composer, const char* expression)
-throw(RuntimeException) {
+noexcept(false) {
   TextComposer* result = NULL;
   Guard guard(*this, "TextManager::create");
 
@@ -65,7 +65,7 @@ throw(RuntimeException) {
 }
 
 TextComposer&  TextManager::find(const int composer)
-throw(RuntimeException) {
+noexcept(false) {
   TextComposer* result;
   Guard guard(*this, "TextManager::find");
 
@@ -80,18 +80,18 @@ throw(RuntimeException) {
 }
 
 const TextComposer&  TextManager::find(const int composer) const
-throw(RuntimeException) {
+noexcept(false) {
   const TextComposer& result = const_cast <TextManager*>(this)->find(composer);
   return result;
 }
 
 TextComposer* TextManager::createTextComposer(const int composer, const char* expression)
-throw() {
+{
   return new TextComposer(composer, expression);
 }
 
 TextComposer* TextManager::xfind(const int composer)
-throw() {
+{
   for(TextComposerVector::iterator ii = a_composers.begin(), maxii = a_composers.end(); ii != maxii; ii ++)
     if((*ii)->getId() == composer) {
       return (*ii);