AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
DBCFile::Exception Class Reference

#include "dbcfile.h"

Inheritance diagram for DBCFile::Exception:
DBCFile::NotFound DBCFile::NotFound

Public Member Functions

 Exception (std::string message)
 
virtual ~Exception ()=default
 
const std::string & getMessage ()
 
 Exception (std::string message)
 
virtual ~Exception ()=default
 
const std::string & getMessage ()
 

Private Attributes

std::string message
 

Detailed Description

Todo:
: Add a close function?

Constructor & Destructor Documentation

◆ Exception() [1/2]

DBCFile::Exception::Exception ( std::string  message)
inline
38 : message(std::move(message))
39 { }
std::string message
Definition: dbcfile.h:43

◆ ~Exception() [1/2]

virtual DBCFile::Exception::~Exception ( )
virtualdefault

◆ Exception() [2/2]

DBCFile::Exception::Exception ( std::string  message)
inline
40 : message(std::move(message))
41 { }

◆ ~Exception() [2/2]

virtual DBCFile::Exception::~Exception ( )
virtualdefault

Member Function Documentation

◆ getMessage() [1/2]

const std::string & DBCFile::Exception::getMessage ( )
inline
41{return message;}

References message.

◆ getMessage() [2/2]

const std::string & DBCFile::Exception::getMessage ( )
inline
43{return message;}

References message.

Member Data Documentation

◆ message

std::string DBCFile::Exception::message
private

Referenced by getMessage().