Zero  0.1.0
Public Member Functions | List of all members
zero::hashtable_deque::HashtableDequeEmptyException< key_type, invalid_key > Class Template Reference

Exception thrown when an HashtableDeque is empty. More...

#include <hashtable_deque_exceptions.hpp>

Inheritance diagram for zero::hashtable_deque::HashtableDequeEmptyException< key_type, invalid_key >:
zero::hashtable_deque::HashtableDequeException< key_type, invalid_key >

Public Member Functions

const char * what () const noexcept override
 
- Public Member Functions inherited from zero::hashtable_deque::HashtableDequeException< key_type, invalid_key >
 HashtableDequeException (const uint64_t &size, const key_type &back, const key_type &front)
 Constructor of an exception thrown in HashtableDeque. More...
 
const char * what () const noexcept override
 What caused the exception happened? More...
 
virtual const char * details () const noexcept
 Details about the exceptional state. More...
 

Additional Inherited Members

- Protected Attributes inherited from zero::hashtable_deque::HashtableDequeException< key_type, invalid_key >
const uint64_t _size
 The size of the HashtableDeque. More...
 
const key_type _back
 The back of the HashtableDeque. More...
 
const key_type _front
 The front of the HashtableDeque. More...
 

Detailed Description

template<class key_type, key_type invalid_key>
class zero::hashtable_deque::HashtableDequeEmptyException< key_type, invalid_key >

Exception thrown when an HashtableDeque is empty.

Represents an exception that can be thrown in instances of HashtableDeque when it is unexpectedly empty.

Template Parameters
key_typeThe key type of the corresponding HashtableDeque .
invalid_keyThe invalid key used in the corresponding HashtableDeque .
Author
Max Gilbert

Member Function Documentation

§ what()

template<class key_type, key_type invalid_key>
const char* zero::hashtable_deque::HashtableDequeEmptyException< key_type, invalid_key >::what ( ) const
inlineoverridenoexcept

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