BEA Systems, Inc.

com.beasys.commerce.util
Class ExpressionHelper.ParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IllegalArgumentException
                          |
                          +--com.beasys.commerce.util.ExpressionHelper.ParseException
Enclosing class:
ExpressionHelper

public static class ExpressionHelper.ParseException
extends java.lang.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.
 java.lang.String token
          The possible error token.
 
Constructor Summary
ExpressionHelper.ParseException(java.lang.String mesg, int line, int column, java.lang.String token)
          Constructor.
 
Method Summary
 java.lang.String getMessage()
          Get the exception message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, 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 java.lang.String token
The possible error token.

Null for unknown.

Constructor Detail

ExpressionHelper.ParseException

public ExpressionHelper.ParseException(java.lang.String mesg,
                                       int line,
                                       int column,
                                       java.lang.String token)
Constructor.
Method Detail

getMessage

public java.lang.String getMessage()
Get the exception message.
Overrides:
getMessage in class java.lang.Throwable

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved