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
37 : message(std::move(message))
38 { }
std::string message
Definition: dbcfile.h:42

◆ ~Exception() [1/2]

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

◆ Exception() [2/2]

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

◆ ~Exception() [2/2]

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

Member Function Documentation

◆ getMessage() [1/2]

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

References message.

◆ getMessage() [2/2]

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

References message.

Member Data Documentation

◆ message

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

Referenced by getMessage().