class SparkRecognitionException extends RecognitionException
A SparkRecognitionException extends the RecognitionException with more information including the error class and parameters for the error message, which align with the interface of SparkThrowableHelper.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SparkRecognitionException
- RecognitionException
- RuntimeException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SparkRecognitionException(errorClass: String, messageParameters: Map[String, String])
Construct with pure errorClass and messageParameter information.
- new SparkRecognitionException(recognitionException: RecognitionException, errorClass: String, messageParameters: Map[String, String])
Construct from a given RecognitionException, with additional error information.
- new SparkRecognitionException(message: String, recognizer: Recognizer[_, _], input: IntStream, ctx: ParserRuleContext, errorClass: Option[String] = None, messageParameters: Map[String, String] = Map.empty)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val errorClass: Option[String]
- def fillInStackTrace(): Throwable
- Definition Classes
- Throwable
- def getCause(): Throwable
- Definition Classes
- Throwable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getCtx(): RuleContext
- Definition Classes
- RecognitionException
- def getExpectedTokens(): IntervalSet
- Definition Classes
- RecognitionException
- def getInputStream(): IntStream
- Definition Classes
- RecognitionException
- def getLocalizedMessage(): String
- Definition Classes
- Throwable
- def getMessage(): String
- Definition Classes
- Throwable
- def getOffendingState(): Int
- Definition Classes
- RecognitionException
- def getOffendingToken(): Token
- Definition Classes
- RecognitionException
- def getRecognizer(): Recognizer[_ <: AnyRef, _ <: AnyRef]
- Definition Classes
- RecognitionException
- def getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
- final def getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val messageParameters: Map[String, String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
- def printStackTrace(): Unit
- Definition Classes
- Throwable
- final def setOffendingState(arg0: Int): Unit
- Attributes
- protected[runtime]
- Definition Classes
- RecognitionException
- final def setOffendingToken(arg0: Token): Unit
- Attributes
- protected[runtime]
- Definition Classes
- RecognitionException
- def setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Throwable → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)