AMErrorFactory.h
00001 #ifndef gridripper_amr1d_error_AMErrorFactory_h
00002 #define gridripper_amr1d_error_AMErrorFactory_h
00003
00004 #include <gridripper/lang/IllegalArgumentException.h>
00005 #include <gridripper/amr1d/AMError.h>
00006
00007 namespace gridripper { namespace amr1d {
00008
00009 class PDE;
00010
00011 namespace error {
00012
00013 using namespace std;
00014
00022 class AMErrorFactory
00023 {
00024 public:
00025 static AMError* create(const PDE& pde, const string& name)
00026 throw(IllegalArgumentException&);
00027 };
00028
00029 } } }
00030
00031 #endif