AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ByteBufferInvalidValueException Class Reference

#include "ByteBuffer.h"

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

Public Member Functions

 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
 

Additional Inherited Members

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

Detailed Description

Constructor & Destructor Documentation

◆ ByteBufferInvalidValueException()

ByteBufferInvalidValueException::ByteBufferInvalidValueException ( char const *  type,
char const *  value 
)
54{
55 message().assign(Acore::StringFormat("Invalid %s value (%s) found in ByteBuffer", type, value));
56}
std::string StringFormat(Format &&fmt, Args &&... args)
Default AC string format function.
Definition: StringFormat.h:29
std::string & message() noexcept
Definition: ByteBuffer.h:39

References ByteBufferException::message(), and Acore::StringFormat().

◆ ~ByteBufferInvalidValueException()

ByteBufferInvalidValueException::~ByteBufferInvalidValueException ( )
overridedefaultnoexcept