diff options
Diffstat (limited to 'MLKThrowException.h')
-rw-r--r-- | MLKThrowException.h | 20 |
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 |