Remove dynamic exceptions
[anna.git] / include / anna / diameter / app / dcca / huawei / Message.hpp
index 805b920..943ced4 100644 (file)
@@ -51,7 +51,7 @@ public:
      Avp PS-Information 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 anna::diameter::codec::Avp * getPSInformation(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const anna::diameter::codec::Avp * getPSInformation(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information);
@@ -62,7 +62,7 @@ public:
      Avp Called-Station-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 * getCalledStationId(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const UTF8String * getCalledStationId(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -74,7 +74,7 @@ public:
      Avp 3GPP-PDP-Type 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 * get3GPPPDPType(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Unsigned32 * get3GPPPDPType(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -86,7 +86,7 @@ public:
      Avp 3GPP-SGSN-MCC-MNC 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 * get3GPPSGSNMCCMNC(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const UTF8String * get3GPPSGSNMCCMNC(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -98,7 +98,7 @@ public:
      Avp 3GPP-Charging-Characteristics 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 * get3GPPChargingCharacteristics(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const UTF8String * get3GPPChargingCharacteristics(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -110,7 +110,7 @@ public:
      Avp 3GPP-GPRS-Neg-QoS-Profile 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 * get3GPPGPRSNegQoSProfile(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const UTF8String * get3GPPGPRSNegQoSProfile(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -122,7 +122,7 @@ public:
      Avp CG-Address 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 Address * getCGAddress(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Address * getCGAddress(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -134,7 +134,7 @@ public:
      Avp 3GPP-Rat-Type 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 OctetString * get3GPPRatType(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const OctetString * get3GPPRatType(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -146,7 +146,7 @@ public:
      Avp SGSN-Address 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 Address * getSGSNAddress(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Address * getSGSNAddress(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -158,7 +158,7 @@ public:
      Avp GGSN-Address 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 Address * getGGSNAddress(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Address * getGGSNAddress(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -170,7 +170,7 @@ public:
      Avp 3GPP-Charging-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 * get3GPPChargingId(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Unsigned32 * get3GPPChargingId(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->
@@ -182,7 +182,7 @@ public:
      Avp Reporting-Reason 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 * getReportingReason(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Enumerated * getReportingReason(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(return getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->getAvp(helpers::tgpp::AVPID__Reporting_Reason)->getEnumerated());
   }
 
@@ -190,7 +190,7 @@ public:
      Avp Trigger-Type 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 * getTriggerType(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Enumerated * getTriggerType(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->
                getAvp(helpers::tgpp::AVPID__Trigger)->
@@ -202,7 +202,7 @@ public:
      Avp PS-Furnish-Charging-Information 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 anna::diameter::codec::Avp * getPSFurnishChargingInformation(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const anna::diameter::codec::Avp * getPSFurnishChargingInformation(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->
                getAvp(helpers::tgpp::AVPID__PS_Furnish_Charging_Information);
@@ -213,7 +213,7 @@ public:
      Avp PS-Free-Format-Data 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 OctetString * getPSFreeFormatData(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const OctetString * getPSFreeFormatData(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->
                getAvp(helpers::tgpp::AVPID__PS_Furnish_Charging_Information)->
@@ -225,7 +225,7 @@ public:
      Avp PS-Append-Free-Format-Data 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 * getPSAppendFreeFormatData(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Enumerated * getPSAppendFreeFormatData(anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->
                getAvp(helpers::tgpp::AVPID__PS_Furnish_Charging_Information)->
@@ -238,7 +238,7 @@ public:
      @param ocurrence Select the n-th PDP-Address within the PS-Information. First by default.
      @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 Address * getPDPAddress(int ocurrence = 1, anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) throw(anna::RuntimeException) {
+  const Address * getPDPAddress(int ocurrence = 1, anna::Exception::Mode::_v emode = anna::Exception::Mode::Throw) noexcept(false) {
     ASSERT_APP_GETAVP(
       return   getAvp(helpers::tgpp::AVPID__Service_Information)->
                getAvp(helpers::tgpp::AVPID__PS_Information)->