AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::InvalidStringValueException Class Reference

#include "PacketUtilities.h"

Inheritance diagram for WorldPackets::InvalidStringValueException:
ByteBufferInvalidValueException ByteBufferException WorldPackets::IllegalHyperlinkException WorldPackets::InvalidHyperlinkException WorldPackets::InvalidUtf8ValueException

Public Member Functions

 InvalidStringValueException (std::string const &value)
 
std::string const & GetInvalidValue () const
 
- Public Member Functions inherited from ByteBufferInvalidValueException
 ByteBufferInvalidValueException (char const *type, char const *value)
 
 ~ByteBufferInvalidValueException () noexcept override=default
 
- Public Member Functions inherited from ByteBufferException
 ~ByteBufferException () noexcept override=default
 
char const * what () const noexcept override
 

Private Attributes

std::string _value
 

Additional Inherited Members

- Protected Member Functions inherited from ByteBufferException
std::string & message () noexcept
 

Detailed Description

Constructor & Destructor Documentation

◆ InvalidStringValueException()

WorldPackets::InvalidStringValueException::InvalidStringValueException ( std::string const &  value)
24 :
25 ByteBufferInvalidValueException("string", value.c_str()) { }
Definition: ByteBuffer.h:62

Member Function Documentation

◆ GetInvalidValue()

std::string const & WorldPackets::InvalidStringValueException::GetInvalidValue ( ) const
inline
32{ return _value; }
std::string _value
Definition: PacketUtilities.h:35

References _value.

Referenced by WorldSession::Update().

Member Data Documentation

◆ _value

std::string WorldPackets::InvalidStringValueException::_value
private

Referenced by GetInvalidValue().