org.jcoderz.phoenix.sqlparser
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jcoderz.phoenix.sqlparser.ParseException
All Implemented Interfaces:
Serializable

public final class ParseException
extends Exception

SQL ParseException.

Author:
Michael Griffel
See Also:
Serialized Form

Constructor Summary
ParseException(int line, int column)
          Create a new ParseException.
ParseException(String message, int line, int column)
          Create a new ParseException.
ParseException(String message, Throwable cause, int line, int column)
          Create a new ParseException.
ParseException(Throwable cause, int line, int column)
          Create a new ParseException.
 
Method Summary
 int getColumn()
          Returns the column.
 int getLine()
          Returns the line.
 String getMessage()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException(int line,
                      int column)
Create a new ParseException.

Parameters:
line - the source line where the exception occured
column - the source column where the exception occured

ParseException

public ParseException(String message,
                      int line,
                      int column)
Create a new ParseException.

Parameters:
message - a message describing the problem
line - the source line where the exception occured
column - the source column where the exception occured

ParseException

public ParseException(Throwable cause,
                      int line,
                      int column)
Create a new ParseException.

Parameters:
cause - the throwable that initiated this exception
line - the source line where the exception occured
column - the source column where the exception occured

ParseException

public ParseException(String message,
                      Throwable cause,
                      int line,
                      int column)
Create a new ParseException.

Parameters:
message - a message describing the problem
cause - the throwable that initiated this exception
line - the source line where the exception occured
column - the source column where the exception occured
Method Detail

getColumn

public int getColumn()
Returns the column.

Returns:
the column.

getLine

public int getLine()
Returns the line.

Returns:
the line.

getMessage

public String getMessage()

Overrides:
getMessage in class Throwable


Copyright 2007 The jCoderZ Project.