Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.LISP
exception handling
From
Jens Kallup
@21:1/5 to
All
on Sat Dec 9 15:04:55 2023
Hello,
I dont understand exception handling in SBCL Common Lisp,
How can I define one or more exceptions, and doing actions
during one exception is raise.
I found examples in the Internet, but they give only demo,
not practise using.
I would do this pseudo-code thing:
(handle-exception (
(progn (write-line "hello")
(write-line (/ 3 0)))
(handle-exception-occurence
division-zero (write-line "error 1" )
file-not-found (write-line "error 2 )))
Is that possible in SBCL ?
Jens
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
From
Jens Kallup
@21:1/5 to
All
on Sat Dec 9 16:45:18 2023
Hello,
I found informations on:
https://gigamonkeys.com/book/beyond-exception-handling-conditions-and-restarts.html
Jens
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Centurion
Sun Jun 7 16:59:51 2026
from
Berea, Ohio
via
Telnet
Furryboy
Sun Jun 7 13:40:29 2026
from
Romania, Galati
via
SSH
Krenn
Sun Jun 7 10:02:33 2026
from
Sydney, Nsw
via
Telnet
Spearb0y
Sun Jun 7 07:41:05 2026
from
Massachusetts
via
SSH
Krenn
Sun Jun 7 03:07:26 2026
from
Sydney, Nsw
via
Telnet
Krenn
Sun Jun 7 01:30:12 2026
from
Sydney, Nsw
via
Telnet
Centurion
Sat Jun 6 23:27:30 2026
from
Berea, Ohio
via
Telnet
Ab Cadd
Sat Jun 6 15:42:53 2026
from
Sheboygan, Wi
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
715
Nodes:
16 (
2
/
14
)
Uptime:
01:46:58
Calls:
12,098
Calls today:
6
Files:
15,003
Messages:
6,517,865