> >I would expect the security guard to respond and tell me the security
> >to the building is intact with an affirmative or "true".
> >
> >
> Otherwise I'd assume the security guard is either dead or has a gun
> smashed against his temple.  Yes, have him return a "code 6 - all clear"
> to me...

In the code-based reality we live in, this would raise an exception. 
It wouldn't be an AccessDeniedException, it'd be NullPointerException
or something, because there's a problem actually asking the guard the
question.  So you still don't need a confirmation, because both "bad"
scenarios will raise exceptions.  If that happens, you'll have to
check the exceptions to tell whether the user isn't allowed, or if
there's just simply a problem with checking whether they're allowed,
but structured exception handling makes that a snap.

Which isn't to say that I want to argue the point, but rather that
object systems have some fundementally different rules than real life,
and they have to be taken into account.

cheers,
barneyb

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Reply via email to