Change the name of ArrayBoundsException in druntime

Denis Koroskin 2korden at gmail.com
Wed Oct 22 06:47:32 PDT 2008


On Wed, 22 Oct 2008 16:22:02 +0400, Jarrett Billingsley  
<jarrett.billingsley at gmail.com> wrote:

> On Wed, Oct 22, 2008 at 6:49 AM, Jacob Carlborg <doobnet at gmail.com>  
> wrote:
>> I think the name ArrayBoundsException should be changed to a more  
>> general
>> name like BoundsException, OutOfBoundsException or
>> IndexOutOfBoundsException. Then you can use the exception in every class
>> that have some sort of index operation and not just for an array/array
>> class.
>>
>
> 2nded.

Agreed. BTW, why it is not an Error but Exception?



More information about the Digitalmars-d mailing list