Hi Alec,

On Thu, May 7, 2009 at 10:21 PM, Alec Berryman <[email protected]> wrote:
> I have a question on error handling.  If my math is right,
> max-array-capacity on linux-x86-32 means that the largest bit-array I
> can create is about 16MB.  That's a lot of bits, but not that many.
> What's the best way to signal to the user, "I can't create something
> that big?"

You can throw an exception.
http://docs.factorcode.org/content/article-errors.html

I'll increase the maximum array size on 32-bit at some point in the future.

Slava

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to