src/core/attribute-list.cc
changeset 3190 51fe9001a679
parent 2965 4b28e9740e3b
child 3892 f985e116b696
     1.1 --- a/src/core/attribute-list.cc	Thu Apr 17 13:42:25 2008 -0700
     1.2 +++ b/src/core/attribute-list.cc	Mon Jun 02 10:30:24 2008 -0700
     1.3 @@ -212,7 +212,7 @@
     1.4      std::string::size_type equal = str.find ("=", cur);
     1.5      if (equal == std::string::npos)
     1.6        {
     1.7 -        // XXX: invalid attribute.
     1.8 +        NS_FATAL_ERROR ("Error while parsing serialized attribute: \"" << str << "\"");
     1.9          break;
    1.10        }
    1.11      else
    1.12 @@ -221,7 +221,7 @@
    1.13          struct TypeId::AttributeInfo info;
    1.14          if (!TypeId::LookupAttributeByFullName (name, &info))
    1.15            {
    1.16 -            // XXX invalid name.
    1.17 +            NS_FATAL_ERROR ("Error while parsing serialized attribute: name does not exist: \"" << name << "\"");
    1.18              break;
    1.19            }
    1.20          else
    1.21 @@ -242,7 +242,7 @@
    1.22              bool ok = val->DeserializeFromString (value, info.checker);
    1.23              if (!ok)
    1.24                {
    1.25 -                // XXX invalid value
    1.26 +                NS_FATAL_ERROR ("Error while parsing serialized attribute: value invalid: \"" << value << "\"");
    1.27                  break;
    1.28                }
    1.29              else