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

#include <C4Aul.h>

Inheritance diagram for C4AulExecError:
[legend]
Collaboration diagram for C4AulExecError:
[legend]

Public Member Functions

 C4AulExecError (const char *szError)
 
virtual const char * what () const noexcept
 

Protected Attributes

StdCopyStrBuf sMessage
 

Detailed Description

Definition at line 64 of file C4Aul.h.

Constructor & Destructor Documentation

C4AulExecError::C4AulExecError ( const char *  szError)

Definition at line 35 of file C4AulExec.cpp.

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

36 {
37  assert(szError);
38  // direct error message string
39  sMessage.Copy(szError ? szError : "(no error message)");
40 }
void Copy()
Definition: StdBuf.h:475
StdCopyStrBuf sMessage
Definition: C4Aul.h:46

Here is the call graph for this function:

Member Function Documentation

virtual const char* C4AulError::what ( ) const
virtualnoexceptinherited

Member Data Documentation

StdCopyStrBuf C4AulError::sMessage
protectedinherited

Definition at line 46 of file C4Aul.h.

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


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