***  This class is subject to change.  ***

com.sas.iquery.metadata.expr
Class ParseExpressionException

com.sas.iquery.metadata.expr.ParseExpressionException
All Implemented Interfaces:
com.sas.util.LocalizableToStringInterface, java.io.Serializable

@SASScope(value="ALL")
@SubjectToChange
public class ParseExpressionException

Specifies an exception class that is used with ResourceAwareStringExpression. This exception is used for parsing errors, as the name indicates.

See Also:
Serialized Form

Method Summary
 int getErrorIndex()
          Get the index where parse error occurred.
 int getStartIndex()
          Get the index where we entered this state.
 
Methods inherited from class com.sas.iquery.IQueryServicesException
getFirstReason, getReasons, getSASLog, getSASLog, hasReasonWithCodes
 

Method Detail

***  This method is subject to change.  ***

getErrorIndex

@SASScope(value="ALL")
@SubjectToChange
public int getErrorIndex()
Get the index where parse error occurred.

Returns:
the errorIndex where the error occurred

***  This method is subject to change.  ***

getStartIndex

@SASScope(value="ALL")
@SubjectToChange
public int getStartIndex()
Get the index where we entered this state. For example, a Resource, Escape or String.

Returns:
the stateIndex where we entered the error state

***  This class is subject to change.  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.