projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
include
/
anna
/
diameter
/
stack
/
Engine.hpp
diff --git
a/include/anna/diameter/stack/Engine.hpp
b/include/anna/diameter/stack/Engine.hpp
index
854ce36
..
e15ac1b
100644
(file)
--- a/
include/anna/diameter/stack/Engine.hpp
+++ b/
include/anna/diameter/stack/Engine.hpp
@@
-39,7
+39,7
@@
namespace stack {
class Engine : public anna::Singleton <Engine> {
class Engine : public anna::Singleton <Engine> {
- const anna::xml::DTDMemory * getDictionariesDTD() const
throw()
{ return &a_dtd; }
+ const anna::xml::DTDMemory * getDictionariesDTD() const { return &a_dtd; }
public:
public:
@@
-56,14
+56,14
@@
public:
* @param stackId Stack identifier.
* @return Dictionary reference, NULL if no stack found
*/
* @param stackId Stack identifier.
* @return Dictionary reference, NULL if no stack found
*/
- const Dictionary * getDictionary(unsigned int stackId) const
throw()
;
+ const Dictionary * getDictionary(unsigned int stackId) const ;
/** Beginning stack iterator */
/** Beginning stack iterator */
- const_stack_iterator stack_begin() const
throw()
{ return a_stacks.begin(); }
+ const_stack_iterator stack_begin() const { return a_stacks.begin(); }
/** Ending stack iterator */
/** Ending stack iterator */
- const_stack_iterator stack_end() const
throw()
{ return a_stacks.end(); }
+ const_stack_iterator stack_end() const { return a_stacks.end(); }
/** Stack size */
/** Stack size */
- int stack_size() const
throw()
{ return a_stacks.size(); }
+ int stack_size() const { return a_stacks.size(); }
// helpers
/**
// helpers
/**
@@
-71,7
+71,7
@@
public:
*
* @return Boolean about empty stack condition
*/
*
* @return Boolean about empty stack condition
*/
- bool isEmpty(void) const
throw()
{ return (!a_stacks.size()); }
+ bool isEmpty(void) const { return (!a_stacks.size()); }
/**
* Class string representation
/**
* Class string representation
@@
-80,7
+80,7
@@
public:
*
* @return String with class content
*/
*
* @return String with class content
*/
- std::string asString(bool all = true) const
throw()
;
+ std::string asString(bool all = true) const ;
// set
// set
@@
-117,7
+117,7
@@
public:
*
* @return Dictionary registered. When exception happen, dictionary can be accessed by #getDictionary
*/
*
* @return Dictionary registered. When exception happen, dictionary can be accessed by #getDictionary
*/
- Dictionary * createDictionary(unsigned int stackId, const std::string & xmlPathFile = "")
throw(anna::RuntimeException
);
+ Dictionary * createDictionary(unsigned int stackId, const std::string & xmlPathFile = "")
noexcept(false
);
/**
* Register a externally created Dictionary or a derived class from Dictionary
/**
* Register a externally created Dictionary or a derived class from Dictionary
@@
-128,7
+128,7
@@
public:
*
* @return Dictionary registered. When exception happen, dictionary can be accessed by #getDictionary
*/
*
* @return Dictionary registered. When exception happen, dictionary can be accessed by #getDictionary
*/
- Dictionary * registerDictionary(unsigned int stackId, Dictionary *dictionary)
throw(anna::RuntimeException
);
+ Dictionary * registerDictionary(unsigned int stackId, Dictionary *dictionary)
noexcept(false
);
/**
* Loads an XML dictionary document over the diameter stack identifiers (one or more stack id's).
/**
* Loads an XML dictionary document over the diameter stack identifiers (one or more stack id's).
@@
-138,7
+138,7
@@
public:
* @param stacks Stacks identifiers over which the dictionary will be load.
* @param xmlPathFile Path file to the xml document which represents the diameter dictionary.
*/
* @param stacks Stacks identifiers over which the dictionary will be load.
* @param xmlPathFile Path file to the xml document which represents the diameter dictionary.
*/
- void loadDictionary(const std::vector<unsigned int> & stacks, const std::string & xmlPathFile)
throw(anna::RuntimeException
);
+ void loadDictionary(const std::vector<unsigned int> & stacks, const std::string & xmlPathFile)
noexcept(false
);
/**
* Loads an XML dictionary document over all the diameter engine registered stacks. When more than one stack id is
/**
* Loads an XML dictionary document over all the diameter engine registered stacks. When more than one stack id is
@@
-147,19
+147,19
@@
public:
*
* @param xmlPathFile Path file to the xml document which represents the diameter dictionary.
*/
*
* @param xmlPathFile Path file to the xml document which represents the diameter dictionary.
*/
- void loadDictionary(const std::string & xmlPathFile)
throw(anna::RuntimeException
);
+ void loadDictionary(const std::string & xmlPathFile)
noexcept(false
);
/**
* Remove all stacks registered on diameter stack engine
*/
/**
* Remove all stacks registered on diameter stack engine
*/
- void removeStacks(void)
throw()
{ a_stacks.clear(); }
+ void removeStacks(void) { a_stacks.clear(); }
/**
* Remove the stack provided.
*
* @param stackId Stack identifier for created dictionary
*/
/**
* Remove the stack provided.
*
* @param stackId Stack identifier for created dictionary
*/
- void removeStack(unsigned int stackId)
throw()
;
+ void removeStack(unsigned int stackId) ;
private:
private: