eventxx  1.0.1
eventxx::invalid_priority Struct Reference

Invalid priority exception. More...

Inheritance diagram for eventxx::invalid_priority:

Public Member Functions

 invalid_priority (const std::string &what="invalid priority value") throw ()
 Creates an invalid priority exception with a reason. More...
 

Detailed Description

Invalid priority exception.

This exception is thrown when passing an invalid priority to a function. This usually means you don't have enough priority queues in your dispatcher, so you should have allocated more in the constructor.

If you hit this exception, you probably got a programming error.

See also
dispatcher::dispatcher(int) to allocate more priority queues.

Constructor & Destructor Documentation

◆ invalid_priority()

eventxx::invalid_priority::invalid_priority ( const std::string &  what = "invalid priority value")
throw (
)
inlineexplicit

Creates an invalid priority exception with a reason.

Parameters
whatReason why the priority is invalid).

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