All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4AulExecError Class Reference

#include <C4Aul.h>

Inheritance diagram for C4AulExecError:
Collaboration diagram for C4AulExecError:

Public Member Functions

 C4AulExecError (const char *szError)
const char * what () const noexceptoverride

Protected Attributes

StdCopyStrBuf sMessage

Detailed Description

Definition at line 62 of file C4Aul.h.

Constructor & Destructor Documentation

C4AulExecError::C4AulExecError ( const char *  szError)

Definition at line 31 of file C4AulExec.cpp.

References StdStrBuf::Copy(), and C4AulError::sMessage.

32 {
33  assert(szError);
34  // direct error message string
35  sMessage.Copy(szError ? szError : "(no error message)");
36 }
void Copy()
Definition: StdBuf.h:467
StdCopyStrBuf sMessage
Definition: C4Aul.h:44

Here is the call graph for this function:

Member Function Documentation

const char* C4AulError::what ( ) const

Member Data Documentation

StdCopyStrBuf C4AulError::sMessage

Definition at line 44 of file C4Aul.h.

Referenced by C4AulExecError(), and C4AulParseError::C4AulParseError().

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