X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdbms.oracle%2FOutputBind.hpp;fp=include%2Fanna%2Fdbms.oracle%2FOutputBind.hpp;h=034d87de6fcb529fd90bf6ceb914203fc1590fa1;hp=ce41a22701195c0bebbc28b536908e6ac247822e;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/dbms.oracle/OutputBind.hpp b/include/anna/dbms.oracle/OutputBind.hpp index ce41a22..034d87d 100644 --- a/include/anna/dbms.oracle/OutputBind.hpp +++ b/include/anna/dbms.oracle/OutputBind.hpp @@ -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); }