class ParseException extends AnalysisException

A ParseException is an SparkException that is thrown during the parse process. It contains fields and an extended error message that make reporting and diagnosing errors easier.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParseException
  2. AnalysisException
  3. WithOrigin
  4. SparkThrowable
  5. Exception
  6. Throwable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ParseException(command: Option[String], start: Origin, stop: Origin, errorClass: String, messageParameters: Map[String, String], queryContext: Array[QueryContext])
  2. new ParseException(command: Option[String], start: Origin, stop: Origin, errorClass: String, messageParameters: Map[String, String])

    Compose the message through SparkThrowableHelper given errorClass and messageParameters.

  3. new ParseException(errorClass: String, ctx: ParserRuleContext)
  4. new ParseException(errorClass: String, messageParameters: Map[String, String], ctx: ParserRuleContext)

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. val cause: Option[Throwable]
    Definition Classes
    AnalysisException
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. val command: Option[String]
  9. val context: Array[QueryContext]
    Definition Classes
    AnalysisException
  10. def copy(message: String = this.message, line: Option[Int] = this.line, startPosition: Option[Int] = this.startPosition, cause: Option[Throwable] = this.cause, errorClass: Option[String] = this.errorClass, messageParameters: Map[String, String] = this.messageParameters, context: Array[QueryContext] = this.context): AnalysisException
    Definition Classes
    AnalysisException
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. val errorClass: Option[String]
    Definition Classes
    AnalysisException
  14. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  15. def getCause(): Throwable
    Definition Classes
    Throwable
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def getErrorClass(): String
    Definition Classes
    ParseExceptionAnalysisException → SparkThrowable
  18. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  19. def getMessage(): String
    Definition Classes
    ParseExceptionAnalysisException → Throwable
  20. def getMessageParameters(): Map[String, String]
    Definition Classes
    AnalysisException → SparkThrowable
  21. def getQueryContext(): Array[QueryContext]
    Definition Classes
    ParseExceptionAnalysisException → SparkThrowable
  22. def getSimpleMessage: String
    Definition Classes
    AnalysisException
  23. def getSqlState(): String
    Definition Classes
    SparkThrowable
  24. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  25. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  27. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isInternalError(): Boolean
    Definition Classes
    SparkThrowable
  30. val line: Option[Int]
    Definition Classes
    AnalysisException
  31. val message: String
    Definition Classes
    AnalysisException
  32. val messageParameters: Map[String, String]
    Definition Classes
    AnalysisException
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  36. lazy val origin: Origin
    Definition Classes
    AnalysisExceptionWithOrigin
  37. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  38. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  39. def printStackTrace(): Unit
    Definition Classes
    Throwable
  40. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  41. val start: Origin
  42. val startPosition: Option[Int]
    Definition Classes
    AnalysisException
  43. val stop: Origin
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. def withCommand(cmd: String): ParseException
  50. def withPosition(origin: Origin): AnalysisException
    Definition Classes
    AnalysisException

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 AnalysisException

Inherited from WithOrigin

Inherited from SparkThrowable

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped