QuestWeaver
A procedural quest generator
weave::ContractFailedException Struct Reference

The main exception type used by all classes of the QuestWeaver system. More...

#include <WeaverTypes.h>

Inheritance diagram for weave::ContractFailedException:
Collaboration diagram for weave::ContractFailedException:

Public Member Functions

 ContractFailedException (std::string ss)
 
virtual ~ContractFailedException () throw ()
 
const char * what () const throw ()
 

Public Attributes

std::string s
 

Detailed Description

The main exception type used by all classes of the QuestWeaver system.

All wrong API calls or expected problems (e.g. not being able to parse a quest template) will throw this exception.

Definition at line 27 of file WeaverTypes.h.

Constructor & Destructor Documentation

weave::ContractFailedException::ContractFailedException ( std::string  ss)
inlineexplicit

Definition at line 30 of file WeaverTypes.h.

virtual weave::ContractFailedException::~ContractFailedException ( )
throw (
)
inlinevirtual

Definition at line 32 of file WeaverTypes.h.

Member Function Documentation

const char* weave::ContractFailedException::what ( ) const
throw (
)
inline

Definition at line 34 of file WeaverTypes.h.

Member Data Documentation

std::string weave::ContractFailedException::s

Definition at line 28 of file WeaverTypes.h.


The documentation for this struct was generated from the following file: