projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Filter virt_db allows multiple databases.. Each of these is
[metaproxy-moved-to-github.git]
/
src
/
factory_filter.cpp
diff --git
a/src/factory_filter.cpp
b/src/factory_filter.cpp
index
de786ff
..
d48d2dd
100644
(file)
--- a/
src/factory_filter.cpp
+++ b/
src/factory_filter.cpp
@@
-1,4
+1,4
@@
-/* $Id: factory_filter.cpp,v 1.1 2006-01-04 14:30:51 adam Exp $
+/* $Id: factory_filter.cpp,v 1.2 2006-01-05 16:39:37 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-29,8
+29,8
@@
namespace yp2 {
};
}
};
}
-yp2::FactoryFilterException::FactoryFilterException(const std::string message)
- : std::runtime_error("FilterException: " + message)
+yp2::FactoryFilter::NotFound::NotFound(const std::string message)
+ : std::runtime_error(message)
{
}
{
}
@@
-70,7
+70,7
@@
yp2::filter::Base* yp2::FactoryFilter::create(std::string fi)
if (it == m_p->m_fcm.end()){
std::string msg = "filter type '" + fi + "' not found";
if (it == m_p->m_fcm.end()){
std::string msg = "filter type '" + fi + "' not found";
- throw yp2::FactoryFilterException(msg);
+ throw NotFound(msg);
}
// call create function
return (it->second());
}
// call create function
return (it->second());