00001 #include "Exceptions.h" 00002 00003 namespace SctTest { 00004 00005 SctTestException::SctTestException(const string& msg, const string& file, int line) throw() { 00006 initialize("SCT_TEST", "SctTest::SctTestException", msg, 0, file, line); 00007 } 00008 00009 SctTestException::SctTestException(Sct::Throwable& cause, const string& file, int line) throw() { 00010 initialize("SCT_TEST", "SctTest::SctTestException", "", &cause, file, line); 00011 } 00012 00013 SctTestException::SctTestException(const string& msg, Sct::Throwable& cause, const string& file, int line) throw() { 00014 initialize("SCT_TEST", "SctTest::SctTestException", msg, &cause, file, line); 00015 } 00016 00017 00018 NoDataFileException::NoDataFileException(const string& msg, const string& file, int line) throw() { 00019 initialize("SCT_TEST", "SctTest::NoDataFileException", msg, 0, file, line); 00020 } 00021 00022 NoDataFileException::NoDataFileException(Sct::Throwable& cause, const string& file, int line) throw() { 00023 initialize("SCT_TEST", "SctTest::NoDataFileException", "", &cause, file, line); 00024 } 00025 00026 NoDataFileException::NoDataFileException(const string& msg, Sct::Throwable& cause, const string& file, int line) throw() { 00027 initialize("SCT_TEST", "SctTest::NoDataFileException", msg, &cause, file, line); 00028 } 00029 00030 00031 DataNotValidException::DataNotValidException(const string& msg, const string& file, int line) throw() { 00032 initialize("SCT_TEST", "SctTest::DataNotValidException", msg, 0, file, line); 00033 } 00034 00035 DataNotValidException::DataNotValidException(Sct::Throwable& cause, const string& file, int line) throw() { 00036 initialize("SCT_TEST", "SctTest::DataNotValidException", "", &cause, file, line); 00037 } 00038 00039 DataNotValidException::DataNotValidException(const string& msg, Sct::Throwable& cause, const string& file, int line) throw() { 00040 initialize("SCT_TEST", "SctTest::DataNotValidException", msg, &cause, file, line); 00041 } 00042 00043 00044 00045 NoDataException::NoDataException(const string& msg, const string& file, int line) throw() { 00046 initialize("SCT_TEST", "SctTest::NoDataException", msg, 0, file, line); 00047 } 00048 00049 NoDataException::NoDataException(Sct::Throwable& cause, const string& file, int line) throw() { 00050 initialize("SCT_TEST", "SctTest::NoDataException", "", &cause, file, line); 00051 } 00052 00053 NoDataException::NoDataException(const string& msg, Sct::Throwable& cause, const string& file, int line) throw() { 00054 initialize("SCT_TEST", "SctTest::NoDataException", msg, &cause, file, line); 00055 } 00056 00057 00058 }