X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fdiameter%2Fcodec%2FMessage.hpp;h=87e1012c3d343dd344e152679ef03885c10a4414;hb=0ce74f51388826845727411a7d37d841111ede84;hp=3f17e0980f054e95035f689a30876e30727b0999;hpb=8808902f3d5e768a02f3936c4a1a8732da682895;p=anna.git diff --git a/include/anna/diameter/codec/Message.hpp b/include/anna/diameter/codec/Message.hpp index 3f17e09..87e1012 100644 --- a/include/anna/diameter/codec/Message.hpp +++ b/include/anna/diameter/codec/Message.hpp @@ -147,7 +147,7 @@ class Message { int addChild(Avp *avp) throw() { return Avp::addChild(a_avps, a_insertionPositionForChilds, avp); } const anna::diameter::stack::Command *getStackCommand(CommandId id) const throw(anna::RuntimeException); - void setFailedAvp(const parent_t &parent, AvpId wrong) throw(anna::RuntimeException); + void setFailedAvp(const parent_t &parent, AvpId wrong, const char *wrongName = NULL) throw(anna::RuntimeException); // During message decoding and validation, the first wrong avp is stored and all the tracking is managed to find out its // nested path for the case of grouped avps with wrong avps inside. Remember the RFC 6733, section 7.5: //