org.olap4j
Class OlapException.Region

java.lang.Object
  extended by org.olap4j.OlapException.Region
Enclosing class:
OlapException

public static final class OlapException.Region
extends Object

Description of the position of a syntax or validation error in the source MDX string.

Row and column positions are 1-based and inclusive. For example, in

 SELECT { [Measures].MEMBERS } ON COLUMNS,
    { } ON ROWS
 FROM [Sales]
 

the SELECT keyword occupies positions (1, 1) through (1, 6), and would have a Region(startLine=1, startColumn=1, endColumn=1, endLine=6).


Field Summary
 int endColumn
           
 int endLine
           
 int startColumn
           
 int startLine
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

startLine

public final int startLine

startColumn

public final int startColumn

endLine

public final int endLine

endColumn

public final int endColumn
Method Detail

toString

public String toString()
Overrides:
toString in class Object

SourceForge.net_Logo