X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdbms.mysql%2FOutputBind.hpp;fp=include%2Fanna%2Fdbms.mysql%2FOutputBind.hpp;h=b8c2a296a13b914c44e4e0c0ef99c392b8511096;hp=72e9929b62f1cee0c2d09d3c5809bafc25b6cf16;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/dbms.mysql/OutputBind.hpp b/include/anna/dbms.mysql/OutputBind.hpp index 72e9929..b8c2a29 100644 --- a/include/anna/dbms.mysql/OutputBind.hpp +++ b/include/anna/dbms.mysql/OutputBind.hpp @@ -43,19 +43,19 @@ private: Blob* a_blob; - void decodeLongBlob(dbms::Data&) const throw(RuntimeException, dbms::DatabaseException); - void decodeDate(dbms::Data&) throw(); + void decodeLongBlob(dbms::Data&) const noexcept(false); + void decodeDate(dbms::Data&) ; static unsigned char asByte(const char hex) - throw() { + { return (hex >= '0' && hex <= '9') ? (hex - '0') : ((hex - 'A') + 0x0a); } /* Funciones virtuales puras */ - void decode() const throw(RuntimeException); - void prepare(anna::dbms::Statement*, anna::dbms::Connection*, const int pos) throw(RuntimeException); - void release(anna::dbms::Statement*) throw() {;} - void do_write(const dbms::LongBlock&) const throw(RuntimeException, dbms::DatabaseException); + void decode() const noexcept(false); + void prepare(anna::dbms::Statement*, anna::dbms::Connection*, const int pos) noexcept(false); + void release(anna::dbms::Statement*) {;} + void do_write(const dbms::LongBlock&) const noexcept(false); friend class Statement; };