xorp

CorruptMessage Class Reference

This exception is thrown when a bad input message is received. More...

#include <exceptions.hh>

Inheritance diagram for CorruptMessage:
XorpReasonedException XorpException

List of all members.

Public Member Functions

 CorruptMessage (const char *file, size_t line, const string init_why="")
 CorruptMessage (const char *file, size_t line, const string init_why, const int error, const int subcode)
 CorruptMessage (const char *file, size_t line, const string init_why, const int error, const int subcode, const uint8_t *data, const size_t len)
int error () const
int subcode () const
const uint8_t * data () const
size_t len () const

Static Public Attributes

static const size_t MAXPACKETSIZE = 4096

Private Attributes

const int _error
const int _subcode
uint8_t _data [MAXPACKETSIZE]
const size_t _len

Detailed Description

This exception is thrown when a bad input message is received.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations