Error is not popping up


i getting error in following framework's class:

public function removeitemat(index:int):object

    {

        if (index < 0 || index >= length)

        {

            var message:string = resourcemanager.getstring(

                "collections", "outofbounds", [ index ]);

          throw new rangeerror(message);

        }

 

 

        var listindex:int = index;

        if (localindex)

        {

            var olditem:object = localindex[index];

            listindex = list.getitemindex(olditem);

        }

        return list.removeitemat(listindex);

    }

how can make sure error going on screen?

 

thanks

anyone?



More discussions in Flex (Read Only)


adobe

Comments