summaryrefslogtreecommitdiff
path: root/MLKThrowException.h
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-06-13 20:01:47 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-06-13 20:01:47 +0200
commit97ad5ac29b2ca40c5ec27f9057b28f8c9cb2b566 (patch)
treeccec2d7cfec27067df4a8709b97e2e0ac8103533 /MLKThrowException.h
parent2f8225195b95aaed2c45c0daf582104657114ec4 (diff)
Add class MLKThrowException.
Diffstat (limited to 'MLKThrowException.h')
-rw-r--r--MLKThrowException.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/MLKThrowException.h b/MLKThrowException.h
new file mode 100644
index 0000000..567cbcc
--- /dev/null
+++ b/MLKThrowException.h
@@ -0,0 +1,20 @@
+/* -*- mode: objc; coding: utf-8 -*- */
+/* Copyright 2008, Matthias Benkard. */
+
+#include <Foundation/NSException.h>
+
+@class MLKSymbol;
+
+
+@interface MLKThrowException : NSException
+{
+ MLKSymbol *_catchTag;
+ id _value;
+}
+
+-(MLKThrowException *) initWithCatchTag:(MLKSymbol *)catchTag
+ value:(id)value;
+
+-(MLKSymbol *) catchTag;
+-(id) value;
+@end