#include <Errors.h>
Inheritance diagram for GNE::ProtocolViolation:
Public Types | |
enum | ViolationType { OtherViolation = 0, InvalidCRP, InvalidCAP, InvalidUnreliableInfo } |
Public Member Functions | |
ProtocolViolation (ViolationType T=OtherViolation) | |
ViolationType | getViolationType () const |
void | setViolationType (ViolationType T) |
virtual std::string | toString () const |
Returns a string description of this error. |
|
Returns a string description of this error. When possible, the string is "programmer-friendly," so you will probably want to only use this to write a debug message or out to a log, and tell the user more about the error. Reimplemented from GNE::Error. |