    001package org.apache.tapestry5.json.exceptions;
    002
    003public class JSONArrayIndexOutOfBoundsException extends ArrayIndexOutOfBoundsException
    004{
    005
    006    private static final long serialVersionUID = -53336156278974940L;
    007
    008    private final int index;
    009
    010    public JSONArrayIndexOutOfBoundsException(int index)
    011    {
    012        super(index);
    013        this.index = index;
    014    }
    015
    016    public int getIndex()
    017    {
    018        return this.index;
    019    }
    020
    021}