summaryrefslogtreecommitdiffstats
path: root/Liaison/NSException+LiDebugging.m
diff options
context:
space:
mode:
Diffstat (limited to 'Liaison/NSException+LiDebugging.m')
-rw-r--r--Liaison/NSException+LiDebugging.m23
1 files changed, 23 insertions, 0 deletions
diff --git a/Liaison/NSException+LiDebugging.m b/Liaison/NSException+LiDebugging.m
new file mode 100644
index 0000000..4dc0067
--- /dev/null
+++ b/Liaison/NSException+LiDebugging.m
@@ -0,0 +1,23 @@
+//
+// NSException+LiDebugging.m
+// Liaison
+//
+// Created by Brian Cully on Sun Sep 14 2003.
+// Copyright (c) 2003 Brian Cully. All rights reserved.
+//
+
+@interface LiException : NSException
+@end
+
+@implementation LiException
++ (void)load
+{
+ [self poseAsClass: [NSException class]];
+}
+
+- (void)raise
+{
+ [LiLog logAsDebug: @"Raising exception"];
+ [super raise];
+}
+@end