Re: .Net Exceptions
From: Joerg Jooss (joerg.jooss_at_gmx.net)
Date: 09/19/04
- Next message: rodchar: "Re: master details question"
- Previous message: Rob Windsor [MVP]: "Re: why ampersand not showing..."
- In reply to: cody: "Re: .Net Exceptions"
- Next in thread: David Levine: "Re: .Net Exceptions"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 19 Sep 2004 16:19:47 +0200
cody wrote:
> Did you read my example with the soundcomponent? If it tries to
> allocate a too large soundbuffer, an OutOfMemoryException will occur.
> But why should the rest of my application care about that? Since the
> request to allocate the large soundbuffer failed, we have still
> enough memory. We have no background music playing but we are far far
> away from trouble.
So waht? You still blindly assume that you know that a buffer cannot be
allocated because the allocation size is too big. You just don't know that.
It may be a reasonable assumption in your special case, but that hardly
translates to a general approach.
Cheers,
-- Joerg Jooss joerg.jooss@gmx.net
- Next message: rodchar: "Re: master details question"
- Previous message: Rob Windsor [MVP]: "Re: why ampersand not showing..."
- In reply to: cody: "Re: .Net Exceptions"
- Next in thread: David Levine: "Re: .Net Exceptions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|