senf::TruncatedPacketException Struct Reference

Invalid packet data access. More...

#include <senf/Packets/PacketData.hh>

Inheritance diagram for senf::TruncatedPacketException:

Public Member Functions

 TruncatedPacketException (std::string const &description="")
 
- Public Member Functions inherited from senf::Exception
virtual ~Exception ()
 
virtual char const * what () const
 
- Public Member Functions inherited from senf::ExceptionMixin
std::string message () const
 
std::string backtrace () const
 
void append (std::string text)
 

Additional Inherited Members

- Protected Member Functions inherited from senf::Exception
 Exception (std::string const &description="")
 
- Protected Member Functions inherited from senf::ExceptionMixin
 ExceptionMixin (std::string const &description="")
 
- Protected Attributes inherited from senf::ExceptionMixin
std::string what_
 

Detailed Description

Invalid packet data access.

This exception is signaled whenever an operation tries to access an out-of-bounds data byte. If the packet has been implemented correctly, this signals a malformed packet.

Definition at line 175 of file PacketData.hh.

Constructor & Destructor Documentation

◆ TruncatedPacketException()

senf::TruncatedPacketException::TruncatedPacketException ( std::string const &  description = "")
inline

Definition at line 177 of file PacketData.hh.


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