xorp

InvalidNetmaskLength Class Reference

A standard XORP exception that is thrown if an IP netmask length is invalid. More...

#include <exceptions.hh>

Inheritance diagram for InvalidNetmaskLength:
XorpException

List of all members.

Public Member Functions

 InvalidNetmaskLength (const char *file, size_t line, int netmask_length)
const string why () const
 Get the reason for throwing an exception.

Protected Attributes

int _netmask_length

Detailed Description

A standard XORP exception that is thrown if an IP netmask length is invalid.


Member Function Documentation

const string InvalidNetmaskLength::why ( ) const [virtual]

Get the reason for throwing an exception.

Returns:
the string with the reason for throwing an exception.

Reimplemented from XorpException.


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