Package org.olap4j.mdx.parser
Class MdxParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.olap4j.mdx.parser.MdxParseException
-
- All Implemented Interfaces:
java.io.Serializable
public class MdxParseException extends java.lang.RuntimeException
Exception thrown by anMdxParser
to indicate an error in parsing. Has aParseRegion
.- Author:
- jhyde
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MdxParseException(ParseRegion region, java.lang.String message)
Creates an MdxParseException with a region of the source code and a specified detail message.MdxParseException(ParseRegion region, java.lang.Throwable cause)
Creates an MdxParseException with a region of the source code and a specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParseRegion
getRegion()
-
-
-
Constructor Detail
-
MdxParseException
public MdxParseException(ParseRegion region, java.lang.Throwable cause)
Creates an MdxParseException with a region of the source code and a specified cause.- Parameters:
region
- Region of source code which contains the errorcause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
MdxParseException
public MdxParseException(ParseRegion region, java.lang.String message)
Creates an MdxParseException with a region of the source code and a specified detail message.- Parameters:
region
- Region of source code which contains the errormessage
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
-
Method Detail
-
getRegion
public ParseRegion getRegion()
-
-