ge211  2021.5.1
A student game engine
Session_needed_error Class Reference

Detailed Description

An exception thrown when the client attempts to perform an action that requires a GE211 session before GE211 starts.

For example, GE211 needs to initialize the font subsystem before fonts can be loaded, so the Font constructor throws this exception if it’s called too early.

Definition at line 59 of file ge211_error.hxx.

+ Inheritance diagram for Session_needed_error:
+ Collaboration diagram for Session_needed_error:

Public Member Functions

const std::stringattempted_action () const
 The action that the client attempted that couldn't be completed without a GE211 session.
 
- Public Member Functions inherited from Client_logic_error
 Client_logic_error (const std::string &message)
 Constructs the error, given the provided error message.
 
- Public Member Functions inherited from Exception_base
const char * what () const override
 The error message associated with the exception. More...
 
- Public Member Functions inherited from exception
what (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
exception (T... args)
 

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