🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3714

Re: Authenticate problem

#3714
From: Remy Lebeau (TeamB)
Date: Wed, 27 Jul 2005 16:57
21 lines
1958 bytes
"Bud Manz" <amanz@northweststate.edu> wrote in message
news:42e6bf3e$1@newsgroups.borland.com...

> If my understanding is correct, the try block will "try" a
> block of instruction(s) and return an error code to the catch
> block upon completion.

No, that is not how exceptions work.  Your understanding is not correct.
When an exception is thrown, the code in the try block is not run to
completion.  Code execution immediately jumps from the place the exception
is thrown to the nearest catch block that knows how to handle the exception.
If there is no catch block that can handle the exception, or if a catch
block re-throws the exception, then the exception travels up the call stack
until the next suitable catch block is found, and so on, until either the
exception is finally handled and discarded, or until the exception reaches
the system's main exception handler, which usually terminates the process
immediately.


Gambit
Technical Details
Message-ID: <42e7bf3d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42e67c8d$1@newsgroups.borland.com> <42e687dc$3@newsgroups.borland.com> <42e6bf3e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6759d34d895845ed
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <42e67c8d$1@newsgroups.borland.com> <42e687dc$3@newsgroups.borland.com> <42e6bf3e$1@newsgroups.borland.com>
Subject: Re: Authenticate problem
Date: Wed, 27 Jul 2005 09:57:17 -0700
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <42e7bf3d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1122484029 68.69.17.41 (27 Jul 2005 10:07:09 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail