Skip to content

Class cubmethod::error_context

ClassList > cubmethod > error_context

  • #include <method_error.hpp>

Inherits the following classes: cubpacking::packable_object

Public Functions

Type Name
void clear ()
error_context ()
int get_error ()
std::string get_error_msg ()
virtual size_t get_packed_size (cubpacking::packer & serializator, std::size_t start_offset) override const
bool has_error ()
virtual void pack (cubpacking::packer & serializator) override const
void set_error (int number, const char * msg, const char * file, int line)
virtual void unpack (cubpacking::unpacker & deserializator) override

Public Functions inherited from cubpacking::packable_object

See cubpacking::packable_object

Type Name
virtual size_t get_packed_size (packer & serializator, std::size_t start_offset=0) const = 0
virtual bool is_equal (const packable_object * other)
virtual void pack (packer & serializator) const = 0
virtual void unpack (unpacker & deserializator) = 0
virtual ~packable_object ()

Public Functions Documentation

function clear

void cubmethod::error_context::clear () 

function error_context

cubmethod::error_context::error_context () 

function get_error

int cubmethod::error_context::get_error () 

function get_error_msg

std::string cubmethod::error_context::get_error_msg () 

function get_packed_size

virtual size_t cubmethod::error_context::get_packed_size (
    cubpacking::packer & serializator,
    std::size_t start_offset
) override const

Implements cubpacking::packable_object::get_packed_size


function has_error

bool cubmethod::error_context::has_error () 

function pack

virtual void cubmethod::error_context::pack (
    cubpacking::packer & serializator
) override const

Implements cubpacking::packable_object::pack


function set_error

void cubmethod::error_context::set_error (
    int number,
    const  char * msg,
    const  char * file,
    int line
) 

function unpack

virtual void cubmethod::error_context::unpack (
    cubpacking::unpacker & deserializator
) override

Implements cubpacking::packable_object::unpack



The documentation for this class was generated from the following file cubrid/src/method/method_error.hpp