Skip to content
Snippets Groups Projects
Commit 89d54e26 authored by Julien Michel's avatar Julien Michel
Browse files

COMP: Remove itkTypeMacro (not an itk derived object) and use the GenericExceptionMacro accordingly

parent 9e06bc36
No related branches found
No related tags found
No related merge requests found
......@@ -82,9 +82,6 @@ public:
typedef std::map<std::string, std::string> KeywordlistMap;
/** Run-time type information (and related methods). */
itkTypeMacro(ImageKeywordlist, ImageKeywordlist);
/** Get the internal map container */
const KeywordlistMap& GetKeywordlist() const
{
......
......@@ -90,7 +90,7 @@ GetMetadataByKey(const std::string& key) const
// If the key can not be found, throw an exception
if (it == m_Keywordlist.end())
{
itkExceptionMacro(<< "Keywordlist has no output with key " << key);
itkGenericExceptionMacro(<< "Keywordlist has no output with key " << key);
}
// Then if everything is ok, return the ossinString
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment