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
Rixter
Wed Jul 29 02:00:40 2026
from
Madison, Nc
via
Telnet
Centurion
Tue Jul 28 22:54:59 2026
from
Berea, Ohio
via
Telnet
Bob Worm
Tue Jul 28 16:01:18 2026
from
Wales, Uk
via
Telnet
Rixter
Tue Jul 28 13:42:46 2026
from
Madison, Nc
via
Telnet
Krenn
Tue Jul 28 11:59:57 2026
from
Sydney, Nsw
via
Telnet
Rixter
Tue Jul 28 01:23:48 2026
from
Madison, Nc
via
Telnet
Centurion
Mon Jul 27 22:50:42 2026
from
Berea, Ohio
via
Telnet
Ataricrypt
Mon Jul 27 19:19:17 2026
from
England
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
741
Nodes:
16 (
2
/
14
)
Uptime:
55:50:04
Calls:
12,446
Calls today:
1
Files:
15,192
Messages:
6,537,355