added fatal exception
authorMichal Voců <michal@ruk.cuni.cz>
Wed, 20 Jun 2007 08:47:07 +0000 (08:47 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Wed, 20 Jun 2007 08:47:07 +0000 (08:47 +0000)
org.glite.lb.logger/src-nt/Exception.H

index 0fbac3e..a2c921d 100644 (file)
@@ -4,4 +4,10 @@
 class Exception {
 };
 
+class FatalException {
+};
+
+
+#define E_ASSERT(a) if(!(a)) { throw new FatalException; }
+
 #endif