Package org.olap4j

Class OlapException.Region

  • Enclosing class:
    OlapException

    public static final class OlapException.Region
    extends java.lang.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 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object