Changeset 333
- Timestamp:
- Jan 19, 2004, 4:33:13 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-1/l1-error-system.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-1/l1-error-system.lisp
r300 r333 127 127 ((expected-type :initform '(satisfies proper-list-p) :reader type-error-expected-type))) 128 128 129 (define-condition cant-construct-arglist (improper-list) 130 ()) 129 131 130 132 … … 245 247 (format s "Can't throw to tag ~s" (slot-value c 'tag))))) 246 248 249 (define-condition inactive-restart (control-error) 250 ((restart-name :initarg :restart-name)) 251 (:report (lambda (c s) 252 (format s "Restart ~s is not active" (slot-value c 'restart-name))))) 247 253 248 254 (define-condition lock-protocol-error (control-error) … … 479 485 (when (or (eq restart name) (eq (%restart-name restart) name)) 480 486 (return-from %active-restart (values restart cluster))))) 481 (error "Restart ~S is not active."name))487 (error 'inactive-restart :restart-name name)) 482 488 483 489 (defun invoke-restart (restart &rest values) … … 891 897 (cons $xaccessnth 'sequence-index-type-error) 892 898 (cons $ximproperlist 'improper-list) 899 (cons $xnospread 'cant-construct-arglist) 893 900 )) 894 901
Note:
See TracChangeset
for help on using the changeset viewer.
