ikrs.json.parser
Class JSONSyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ikrs.json.parser.JSONSyntaxException
All Implemented Interfaces:
java.io.Serializable

public class JSONSyntaxException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
JSONSyntaxException(java.lang.String message)
          Create a new JSONException.
JSONSyntaxException(java.lang.String message, int readPosition, int lineNumber, int columnNumber)
          Create a new JSONException.
 
Method Summary
 int getColumnNumber()
          Get the column number where the error was detected.
 int getLineNumber()
          Get the line number where the error was detected.
 int getReadPosition()
          Get the read position where the error was detected.
 void printStackTrace()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONSyntaxException

public JSONSyntaxException(java.lang.String message)
Create a new JSONException.


JSONSyntaxException

public JSONSyntaxException(java.lang.String message,
                           int readPosition,
                           int lineNumber,
                           int columnNumber)
Create a new JSONException.

Method Detail

getReadPosition

public int getReadPosition()
Get the read position where the error was detected.


getLineNumber

public int getLineNumber()
Get the line number where the error was detected.


getColumnNumber

public int getColumnNumber()
Get the column number where the error was detected.


printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable