Change the name of ArrayBoundsException in druntime
Sergey Gromov
snake.scaly at gmail.com
Thu Oct 23 05:57:11 PDT 2008
Wed, 22 Oct 2008 19:18:57 -0400,
Jarrett Billingsley wrote:
> On Wed, Oct 22, 2008 at 7:13 PM, Sean Kelly <sean at invisibleduck.org> wrote:
> > Errors represent situations which are typically non-recoverable--program
> > logic errors, for example, or situations where data corruption may have
> > occurred--while Exceptions represent the bulk of normal execution errors,
> > including OutOfMemory conditions.
>
> How, pray tell, is an app supposed to recover from an out-of-memory condition?
In an image editor, a user asks to create a huge image (50k x 50k). You
try, run out of memory, and gracefully tell the user that the image was
too big and you didn't succeed.
More information about the Digitalmars-d
mailing list