STLdb

PrevUpHomeNext

Class recover_from_log_failed

stldb::recover_from_log_failed

Synopsis

// In header: </Users/bobw/workspace/stldb_lib/stldb/exceptions.h>


class recover_from_log_failed : public stldb::stldb_exception {
public:
  // construct/copy/destruct
  recover_from_log_failed();
  recover_from_log_failed(const char *, transaction_id_t, boost::uintmax_t, 
                          const char *);
  ~recover_from_log_failed();

  // public member functions
  transaction_id_t failed_txn() const;
  boost::uintmax_t offset_in_file() const;
  const char * filename() const;
};

Description

Exception thrown when there is a failure to recover transactions from a log file. There are several fields of usefull data intended to inform the caller exactly where the problem was encountered.

recover_from_log_failed public construct/copy/destruct

  1. recover_from_log_failed();
  2. recover_from_log_failed(const char * why, transaction_id_t txn, 
                            boost::uintmax_t loc, const char * filename);
  3. ~recover_from_log_failed();

recover_from_log_failed public member functions

  1. transaction_id_t failed_txn() const;
  2. boost::uintmax_t offset_in_file() const;
  3. const char * filename() const;

PrevUpHomeNext