Remove dynamic exceptions
[anna.git] / source / dbms / String.cpp
index 2e7e6fb..dc3af03 100644 (file)
@@ -12,7 +12,7 @@ using namespace anna;
 using namespace anna::dbms;
 
 String& String::operator = (const String & other)
-throw(RuntimeException) {
+noexcept(false) {
   if(this == &other)
     return *this;
 
@@ -26,7 +26,7 @@ throw(RuntimeException) {
 }
 
 String& String::operator = (const char * str)
-throw(RuntimeException) {
+noexcept(false) {
   if(a_value != str) {
     if(anna_strlen(str) > Data::getMaxSize())
       throw RuntimeException(
@@ -42,7 +42,7 @@ throw(RuntimeException) {
 }
 
 char* String::strip(char *str)
-throw() {
+{
   int len;
 
   if(str == NULL || (len = anna_strlen(str)) == 0)
@@ -59,7 +59,7 @@ throw() {
 }
 
 std::string dbms::String::asString() const
-throw() {
+{
   std::string result("dbms::String { ");
   result += dbms::Data::asString();
   result += " | Value: ";