    001package org.apache.tapestry5.json.exceptions;
    002
    003public class JSONSyntaxException extends RuntimeException
    004{
    005
    006    private static final long serialVersionUID = 5647885303727734937L;
    007
    008    private final int position;
    009
    010    public JSONSyntaxException(int position, String message)
    011    {
    012        super(message);
    013        this.position = position;
    014    }
    015
    016    public int getPosition()
    017    {
    018        return this.position;
    019    }
    020
    021}