com.beasys.commerce.util
Class ExpressionHelper.ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by com.beasys.commerce.util.ExpressionHelper.ParseException
All Implemented Interfaces
Serializable
Enclosing class:
ExpressionHelper

public static class ExpressionHelper.ParseException
extends IllegalArgumentException

Exception to report an error while parsing a query expression.

See Also
Serialized Form

Field Summary
 int column
          The column number of the error.
 int line
          The line number of the error.
 String token
          The possible error token.
 
Constructor Summary
ExpressionHelper.ParseException(String mesg, int line, int column, String token)
          Constructor.
 
Method Summary
 String getMessage()
          Get the exception message.
 
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
 

Field Detail

line

public int line
The line number of the error.

Less than 0 for unknown.


column

public int column
The column number of the error.

Less than 0 for unknown.


token

public String token
The possible error token.

Null for unknown.

Constructor Detail

ExpressionHelper.ParseException

public ExpressionHelper.ParseException(String mesg,
                                       int line,
                                       int column,
                                       String token)
Constructor.

Method Detail

getMessage

public String getMessage()
Get the exception message.

Overrides:
getMessage in class Throwable


Copyright © 2011, Oracle. All rights reserved.