com.sas.iquery.metadata.expr
Class ResourceIdentificationError

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

@Immutable
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 resource scope
 int getStartIndex()
          Returns the starting location within an expression for the resource which caused this error.
 

Method Detail

getErrorMessage

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

Returns:
errorMessage

getScope

public ResourceScope getScope()
Returns the resource scope

Returns:
the scope for this Resource

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

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



Copyright © 2009 SAS Institute Inc. All Rights Reserved.