[movitz-cvs] CVS update: movitz/losp/muerte/conditions.lisp
Frode Vatvedt Fjeld
ffjeld at common-lisp.net
Fri Mar 12 11:47:42 UTC 2004
Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv15616
Modified Files:
conditions.lisp
Log Message:
Improved error message in signal-simple.
Date: Fri Mar 12 06:47:42 2004
Author: ffjeld
Index: movitz/losp/muerte/conditions.lisp
diff -u movitz/losp/muerte/conditions.lisp:1.2 movitz/losp/muerte/conditions.lisp:1.3
--- movitz/losp/muerte/conditions.lisp:1.2 Mon Jan 19 06:23:46 2004
+++ movitz/losp/muerte/conditions.lisp Fri Mar 12 06:47:41 2004
@@ -10,7 +10,7 @@
;;;; Author: Frode Vatvedt Fjeld <frodef at acm.org>
;;;; Created at: Wed Nov 20 15:47:04 2002
;;;;
-;;;; $Id: conditions.lisp,v 1.2 2004/01/19 11:23:46 ffjeld Exp $
+;;;; $Id: conditions.lisp,v 1.3 2004/03/12 11:47:41 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
@@ -250,7 +250,8 @@
(declare (dynamic-extent arguments))
(let* ((class (etypecase datum
(symbol
- (find-class datum))
+ (or (find-class datum nil)
+ (error "No condition class named ~S." datum)))
(string
(find-class default-type))
(condition
More information about the Movitz-cvs
mailing list