Remove dynamic exceptions
[anna.git] / include / anna / dbms.oracle / OutputBind.hpp
index ce41a22..034d87d 100644 (file)
@@ -31,19 +31,19 @@ public:
 private:
   OCIDefine* a_ociDefine;
 
-  void decode() const throw(anna::RuntimeException);
-  void prepare(dbms::Statement*, dbms::Connection*, const int pos) throw(DatabaseException);
-  void release(dbms::Statement*) throw() { a_ociDefine = NULL; }
+  void decode() const noexcept(false);
+  void prepare(dbms::Statement*, dbms::Connection*, const int pos) noexcept(false);
+  void release(dbms::Statement*) { a_ociDefine = NULL; }
 
-  void decodeFloat(dbms::Data&) const throw(RuntimeException);
-  void decodeShortBlock(dbms::Data&) const throw(RuntimeException);
-  void decodeLongBlock(dbms::Data&) const throw(RuntimeException);
-  void decodeDate(dbms::Data&) const throw(RuntimeException, DatabaseException);
+  void decodeFloat(dbms::Data&) const noexcept(false);
+  void decodeShortBlock(dbms::Data&) const noexcept(false);
+  void decodeLongBlock(dbms::Data&) const noexcept(false);
+  void decodeDate(dbms::Data&) const noexcept(false);
 
-  void do_write(const dbms::LongBlock&) const throw(RuntimeException, dbms::DatabaseException);
+  void do_write(const dbms::LongBlock&) const noexcept(false);
 
   static unsigned char asByte(const char hex)
-  throw() {
+  {
     return (hex >= '0' && hex <= '9') ? (hex - '0') : ((hex - 'A') + 0x0a);
   }