Welcome to the first commit of the first version of my very first app.
[pierogi] / pirexception.cpp
diff --git a/pirexception.cpp b/pirexception.cpp
new file mode 100644 (file)
index 0000000..a0802eb
--- /dev/null
@@ -0,0 +1,18 @@
+#include "pirexception.h"
+
+#include <QtGui/QMessageBox>
+
+/*
+PirException::PirException()
+{
+}
+*/
+
+
+void PIRException::display()
+{
+  QMessageBox errBox;
+  errBox.setText(errStr.c_str());
+  errBox.setIcon(QMessageBox::Warning);
+  errBox.exec();
+}