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

com.sas.iquery.metadata.expr
Class ResourceIdentificationError

com.sas.iquery.metadata.expr.ResourceIdentificationError
All Implemented Interfaces:
com.sas.util.LocalizableToStringInterface

public class ResourceIdentificationError
implements com.sas.util.LocalizableToStringInterface

Contains error information that is available from ResourceIdentificationException objects. This is used to display error messages for resources used in ResourceAwareStringExpression(RASE).


Method Summary
 int getEndIndex()
          Returns the ending location within an expression for the resource which caused this error.
 com.sas.iquery.util.impl.MessageFormatter getErrorMessage()
          Returns the error message associated with this error
 ResourceScope getScope()
          Returns the ressource scope
 int getStartIndex()
          Returns the starting location within an expression for the resource which caused this error.
 

Method Detail

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

getErrorMessage

public com.sas.iquery.util.impl.MessageFormatter getErrorMessage()
Returns the error message associated with this error

Returns:
errorMessage

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

getScope

public ResourceScope getScope()
Returns the ressource scope

Returns:
the scope for this Resource

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

getStartIndex

public int getStartIndex()
Returns the starting location within an expression for the resource which caused this error.

Returns:
the index within an expr where this resource began

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

getEndIndex

public int getEndIndex()
Returns the ending location within an expression for the resource which caused this error.

Returns:
the index within an expr where this resource ended

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.