org.olap4j.mdx.parser
public class MdxParseException extends RuntimeException
MdxParser
to
indicate an error in parsing. Has a ParseRegion
.Constructor and Description |
---|
MdxParseException(ParseRegion region,
String message)
Creates an MdxParseException with a region of the source code and a
specified detail message.
|
MdxParseException(ParseRegion region,
Throwable cause)
Creates an MdxParseException with a region of the source code and a
specified cause.
|
Modifier and Type | Method and Description |
---|---|
ParseRegion |
getRegion() |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MdxParseException(ParseRegion region, Throwable cause)
region
- Region of source code which contains the errorcause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public MdxParseException(ParseRegion region, String message)
region
- Region of source code which contains the errormessage
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.public ParseRegion getRegion()