Skip to content

Class cubload::error_handler

ClassList > cubload > error_handler

  • #include <load_error_handler.hpp>

Public Functions

Type Name
bool current_line_has_error ()
error_handler (session & session)
int get_driver_lineno ()
int get_scanner_lineno ()
void log_date_time_conversion_error (Args &&... args)
void on_error (MSGCAT_LOADDB_MSG msg_id, Args &&... args)
void on_error_with_line (MSGCAT_LOADDB_MSG msg_id, Args &&... args)
void on_error_with_line (int lineno, MSGCAT_LOADDB_MSG msg_id, Args &&... args)
void on_failure ()
void on_failure (MSGCAT_LOADDB_MSG msg_id, Args &&... args)
void on_failure_with_line (MSGCAT_LOADDB_MSG msg_id, Args &&... args)
void on_syntax_failure (bool use_scanner_line=false)
void set_error_on_current_line (bool has_error)
~error_handler () = default

Public Static Functions

Type Name
std::string format_log_msg (MSGCAT_LOADDB_MSG msg_id, Args &&... args)

Public Functions Documentation

function current_line_has_error

bool cubload::error_handler::current_line_has_error () 

function error_handler

explicit cubload::error_handler::error_handler (
    session & session
) 

function get_driver_lineno

int cubload::error_handler::get_driver_lineno () 

function get_scanner_lineno

int cubload::error_handler::get_scanner_lineno () 

function log_date_time_conversion_error

template<typename... Args>
void cubload::error_handler::log_date_time_conversion_error (
    Args &&... args
) 

function on_error

template<typename... Args>
void cubload::error_handler::on_error (
    MSGCAT_LOADDB_MSG msg_id,
    Args &&... args
) 

function on_error_with_line [1/2]

template<typename... Args>
void cubload::error_handler::on_error_with_line (
    MSGCAT_LOADDB_MSG msg_id,
    Args &&... args
) 

function on_error_with_line [2/2]

template<typename... Args>
void cubload::error_handler::on_error_with_line (
    int lineno,
    MSGCAT_LOADDB_MSG msg_id,
    Args &&... args
) 

function on_failure [1/2]

void cubload::error_handler::on_failure () 

function on_failure [2/2]

template<typename... Args>
void cubload::error_handler::on_failure (
    MSGCAT_LOADDB_MSG msg_id,
    Args &&... args
) 

function on_failure_with_line

template<typename... Args>
void cubload::error_handler::on_failure_with_line (
    MSGCAT_LOADDB_MSG msg_id,
    Args &&... args
) 

function on_syntax_failure

void cubload::error_handler::on_syntax_failure (
    bool use_scanner_line=false
) 

function set_error_on_current_line

void cubload::error_handler::set_error_on_current_line (
    bool has_error
) 

function ~error_handler

cubload::error_handler::~error_handler () = default

Public Static Functions Documentation

function format_log_msg

template<typename... Args>
static std::string cubload::error_handler::format_log_msg (
    MSGCAT_LOADDB_MSG msg_id,
    Args &&... args
) 


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