class CorruptMessage

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

Definition#include <exceptions.hh>
InheritsXorpReasonedException (libxorp) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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

 CorruptMessage (const char* file, size_t line, const string init_why = "")

CorruptMessage

 CorruptMessage (const char* file, size_t line, const string init_why, const int error, const int subcode)

CorruptMessage

 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)

CorruptMessage

const int  error ()

error

[const]

const int  subcode ()

subcode

[const]

const uint8_t * data ()

data

[const]

const size_t  len ()

len

[const]


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:17 2003, using kdoc 2.0a54+XORP.