X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fdiameter%2Fapp%2Fbase%2FMessage.hpp;h=0ab599003e94e9ec71cb83bfac30e327e49dae92;hp=a111584b032fa53fde1215d0f61afa3934c3bcb5;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/diameter/app/base/Message.hpp b/include/anna/diameter/app/base/Message.hpp index a111584..0ab5990 100644 --- a/include/anna/diameter/app/base/Message.hpp +++ b/include/anna/diameter/app/base/Message.hpp @@ -52,7 +52,7 @@ public: Avp Session-Id data-part pointer reference @param emode Excepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning). */ - const UTF8String * getSessionId(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) { + const UTF8String * getSessionId(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) { ASSERT_APP_GETAVP(return getAvp(helpers::base::AVPID__Session_Id)->getUTF8String()); } @@ -60,7 +60,7 @@ public: Avp Destination-Host data-part pointer reference @param emode Excepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning). */ - const DiameterIdentity * getDestinationHost(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) { + const DiameterIdentity * getDestinationHost(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) { ASSERT_APP_GETAVP(return getAvp(helpers::base::AVPID__Destination_Host)->getDiameterIdentity()); } @@ -68,7 +68,7 @@ public: Avp Destination-Realm data-part pointer reference @param emode Excepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning). */ - const DiameterIdentity * getDestinationRealm(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) { + const DiameterIdentity * getDestinationRealm(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) { ASSERT_APP_GETAVP(return getAvp(helpers::base::AVPID__Destination_Realm)->getDiameterIdentity()); } @@ -76,7 +76,7 @@ public: Avp User-Name data-part pointer reference @param emode Excepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning). */ - const UTF8String * getUserName(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) { + const UTF8String * getUserName(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) { ASSERT_APP_GETAVP(return getAvp(helpers::radius::AVPID__User_Name)->getUTF8String()); } @@ -84,7 +84,7 @@ public: Avp Termination-Cause data-part pointer reference @param emode Excepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning). */ - const Enumerated * getTerminationCause(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) { + const Enumerated * getTerminationCause(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) { ASSERT_APP_GETAVP(return getAvp(helpers::base::AVPID__Termination_Cause)->getEnumerated()); } @@ -92,7 +92,7 @@ public: Avp Auth-Application-Id data-part pointer reference @param emode Excepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning). */ - const Unsigned32 * getAuthApplicationId(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) { + const Unsigned32 * getAuthApplicationId(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) { ASSERT_APP_GETAVP(return getAvp(helpers::base::AVPID__Auth_Application_Id)->getUnsigned32()); } @@ -100,7 +100,7 @@ public: Avp Event-Timestamp data-part pointer reference @param emode Excepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning). */ - const Time * getEventTimestamp(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) { + const Time * getEventTimestamp(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) { ASSERT_APP_GETAVP(return getAvp(helpers::radius::AVPID__Event_Timestamp)->getTime()); } };