c

org.apache.spark.sql.catalyst.parser

SparkRecognitionException

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
RecognitionException, RuntimeException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkRecognitionException
  2. RecognitionException
  3. RuntimeException
  4. Exception
  5. Throwable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SparkRecognitionException(errorClass: String, messageParameters: Map[String, String])

    Construct with pure errorClass and messageParameter information.

  2. new SparkRecognitionException(recognitionException: RecognitionException, errorClass: String, messageParameters: Map[String, String])

    Construct from a given RecognitionException, with additional error information.

  3. new SparkRecognitionException(message: String, recognizer: Recognizer[_, _], input: IntStream, ctx: ParserRuleContext, errorClass: Option[String] = None, messageParameters: Map[String, String] = Map.empty)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. val errorClass: Option[String]
  10. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  11. def getCause(): Throwable
    Definition Classes
    Throwable
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. def getCtx(): RuleContext
    Definition Classes
    RecognitionException
  14. def getExpectedTokens(): IntervalSet
    Definition Classes
    RecognitionException
  15. def getInputStream(): IntStream
    Definition Classes
    RecognitionException
  16. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  17. def getMessage(): String
    Definition Classes
    Throwable
  18. def getOffendingState(): Int
    Definition Classes
    RecognitionException
  19. def getOffendingToken(): Token
    Definition Classes
    RecognitionException
  20. def getRecognizer(): Recognizer[_ <: AnyRef, _ <: AnyRef]
    Definition Classes
    RecognitionException
  21. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  22. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  24. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val messageParameters: Map[String, String]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  31. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  32. def printStackTrace(): Unit
    Definition Classes
    Throwable
  33. final def setOffendingState(arg0: Int): Unit
    Attributes
    protected[runtime]
    Definition Classes
    RecognitionException
  34. final def setOffendingToken(arg0: Token): Unit
    Attributes
    protected[runtime]
    Definition Classes
    RecognitionException
  35. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from RecognitionException

Inherited from RuntimeException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped