diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-13 20:01:47 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-13 20:01:47 +0200 |
commit | 97ad5ac29b2ca40c5ec27f9057b28f8c9cb2b566 (patch) | |
tree | ccec2d7cfec27067df4a8709b97e2e0ac8103533 /MLKThrowException.m | |
parent | 2f8225195b95aaed2c45c0daf582104657114ec4 (diff) |
Add class MLKThrowException.
Diffstat (limited to 'MLKThrowException.m')
-rw-r--r-- | MLKThrowException.m | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/MLKThrowException.m b/MLKThrowException.m new file mode 100644 index 0000000..799db7e --- /dev/null +++ b/MLKThrowException.m @@ -0,0 +1,25 @@ +/* -*- mode: objc; coding: utf-8 -*- */ +/* Copyright 2008, Matthias Benkard. */ + +#include "MLKThrowException.h" + + +@implementation MLKThrowException +-(MLKThrowException *) initWithCatchTag:(MLKSymbol *)catchTag + value:(id)value +{ + _catchTag = catchTag; + _value = value; + return self; +} + +-(MLKSymbol *) catchTag +{ + return _catchTag; +} + +-(id) value +{ + return _value; +} +@end |