Package org.olap4j

Class OlapException.Region

java.lang.Object
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 Details

    • startLine

      public final int startLine
    • startColumn

      public final int startColumn
    • endLine

      public final int endLine
    • endColumn

      public final int endColumn
  • Constructor Details

    • Region

      protected Region(int startLine, int startColumn, int endLine, int endColumn)
  • Method Details