ccgl::ModelException Class Reference

Print the exception message. More...

#include <basic.h>

Inheritance diagram for ccgl::ModelException:

Public Member Functions

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

Detailed Description

Print the exception message.

Constructor & Destructor Documentation

◆ ModelException()

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

Constructor.

Parameters
[in]class_name
[in]function_name
[in]msg

Member Function Documentation

◆ ToString()

string ccgl::ModelException::ToString ( )

Construct error information (string version)

Returns
error information

◆ what()

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

Overload function to construct error information.

Returns
char* error information

The documentation for this class was generated from the following files: