From: Tobias C. R. <tc...@fr...> - 2010-04-30 08:02:54
|
Roman Marynchak <rom...@gm...> writes: > In the initial patch I signal SB-KERNEL::ARGUMENTS-OUT-OF-VALID-DOMAIN, this > condition is derived from ARITHMETIC-ERROR. This is similar to Lispworks > behavior. CLISP signals DIVIZION-BY-ZERO, which is a bit confusing. Is that > possible to derive from ARITHMETIC-ERROR and REFERENCE-ERROR at the same > time? Conditions support multiple inheritance like classes, so: (define-condition arithmetic-reference-error (arithmetic-error reference-condition) ()) -T. |