using namespace anna;
const string& dbms::Sentence::getName() const
-throw() {
+{
static string empty;
return (a_dbStatement == NULL) ? empty : a_dbStatement->getName();
}
void dbms::Sentence::initialize(dbms::Database& database)
-throw(RuntimeException) {
+noexcept(false) {
Guard guard(this, "anna::dbms::Sentence (initialize)");
a_dbStatement = do_initialize(database);
}
// activa externamente ... para recoger datos multiples, etc, etc.
//-------------------------------------------------------------------------------------
dbms::ResultCode dbms::Sentence::execute(dbms::Connection& connection, dbms::Statement* statement)
-throw(RuntimeException) {
+noexcept(false) {
using namespace anna::dbms;
ResultCode result;
}
bool dbms::Sentence::fetch()
-throw(RuntimeException) {
+noexcept(false) {
bool result = false;
try {
string dbms::Sentence::asString() const
/*virtual*/
-throw() {
+{
string result("dbms::Sentence { Mode: ");
result += (a_mode == Mode::SilentWhenNotFound) ? "SilentWhenNotFound" : "ExceptionWhenNotFound";
result += " | ";
/*virtual*/
xml::Node* dbms::Sentence::asXML(xml::Node* parent) const
-throw() {
+{
xml::Node* result = parent->createChild("dbms.Sentence");
result->createAttribute("Mode", (a_mode == Mode::SilentWhenNotFound) ? "SilentWhenNotFound" : "ExceptionWhenNotFound");