Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Private Types | List of all members
BlockTypePalette::NoSuchIndexException Class Reference

Exception that is thrown if requiesting an index not present in the palette. More...

#include <BlockTypePalette.h>

Inheritance diagram for BlockTypePalette::NoSuchIndexException:
Inheritance graph
[legend]
Collaboration diagram for BlockTypePalette::NoSuchIndexException:
Collaboration graph
[legend]

Public Member Functions

 NoSuchIndexException (UInt32 aIndex)
 

Private Types

using Super = std::runtime_error
 

Detailed Description

Exception that is thrown if requiesting an index not present in the palette.

Definition at line 41 of file BlockTypePalette.h.

Member Typedef Documentation

◆ Super

using BlockTypePalette::NoSuchIndexException::Super = std::runtime_error
private

Definition at line 44 of file BlockTypePalette.h.

Constructor & Destructor Documentation

◆ NoSuchIndexException()

BlockTypePalette::NoSuchIndexException::NoSuchIndexException ( UInt32  aIndex)
inline

Definition at line 47 of file BlockTypePalette.h.


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