ccgl::ModelException类 参考

Print the exception message 更多...

#include <basic.h>

继承自 std::exception .

Public 成员函数

 ModelException (const string &class_name, const string &function_name, const string &msg)
 Constructor 更多...
 
string ToString ()
 Construct error information (string version) 更多...
 
const char * what () const NOEXCEPT OVERRIDE
 Overload function to construct error information 更多...
 

详细描述

Print the exception message

构造及析构函数说明

◆ ModelException()

ccgl::ModelException::ModelException ( const string &  class_name,
const string &  function_name,
const string &  msg 
)

Constructor

参数
[in]class_name
[in]function_name
[in]msg

成员函数说明

◆ ToString()

string ccgl::ModelException::ToString ( )

Construct error information (string version)

返回
error information

◆ what()

const char * ccgl::ModelException::what ( ) const

Overload function to construct error information

返回
char* error information

该类的文档由以下文件生成: