Remove dynamic exceptions
[anna.git] / include / anna / core / util / RegularExpression.hpp
index ed0f170..276c624 100644 (file)
@@ -32,8 +32,8 @@ class RegularExpression {
   regex_t a_preg;
 
 
-  void freeRegex() throw();
-  void compile() throw(anna::RuntimeException);
+  void freeRegex() ;
+  void compile() noexcept(false);
 
 public:
 
@@ -48,7 +48,7 @@ public:
   *
   * @param pattern Pattern
   */
-  void setPattern(const std::string & pattern) throw();
+  void setPattern(const std::string & pattern) ;
 
 
   // get
@@ -58,7 +58,7 @@ public:
   *
   * @return Pattern
   */
-  const std::string & getPattern(void) const throw() { return a_pattern; }
+  const std::string & getPattern(void) const { return a_pattern; }
 
 
   // helpers
@@ -67,12 +67,12 @@ public:
   *
   * @return Boolean about if value provided match regular expression
   */
-  bool isLike(const std::string & value) throw();
+  bool isLike(const std::string & value) ;
 
   /**
   * Same as #isLike
   */
-  bool match(const std::string & value) throw() { return isLike(value); }
+  bool match(const std::string & value) { return isLike(value); }
 
   /**
   * Operator ==