unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: Exception Handling in LISP.
Date: 25 Apr 2003 15:25:56 +0200	[thread overview]
Message-ID: <x565p2wvx7.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.5189.1051273202.21513.help-gnu-emacs@gnu.org

Gurucharan <gurucharan.murudeshwar@wipro.com> writes:

> Hi All,
>         Can we catch any unknown exception in Lisp like C++ ?
> 
> That is, like the C++ ... (Epsilon code).
> can we catch any exception irrespective of which
> exception was thrown ?
> 
> Example:
> try {
>      // Something ....
> }
> catch (...) {    // Do something after Exception has occurred ...
>                 }
> 
> Any material/links on Exception Handling in LISP
> is welcome.

Take a look at catch, throw, condition-case and unwind-protect in the
Elisp manual.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  parent reply	other threads:[~2003-04-25 13:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-25 11:01 Problem positioning cursor Victor Kirk
2003-04-25 12:27 ` Exception Handling in LISP Gurucharan
     [not found] ` <mailman.5189.1051273202.21513.help-gnu-emacs@gnu.org>
2003-04-25 13:25   ` David Kastrup [this message]
2003-04-25 14:10   ` Kai Großjohann
  -- strict thread matches above, loose matches on Subject: below --
2003-04-25 15:15 Bruce Park
     [not found] <mailman.5195.1051283788.21513.help-gnu-emacs@gnu.org>
2003-04-25 15:44 ` Jesper Harder
2003-04-25 17:06 ` Kai Großjohann
2003-04-26  1:21 Bruce Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x565p2wvx7.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).