object SparkException extends Serializable
- Source
- SparkException.scala
- Alphabetic
- By Inheritance
- SparkException
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def constructMessageParams(messageParameters: Map[String, String]): Map[String, String]
Utility method to construct message params from Java Map.
Utility method to construct message params from Java Map.
- messageParameters
The Java Map.
- returns
Scala collection that can be passed to SparkException constructor.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def internalError(msg: String, cause: Throwable): SparkException
- def internalError(msg: String, category: String): SparkException
- def internalError(msg: String): SparkException
- def internalError(msg: String, context: Array[QueryContext], summary: String, category: Option[String]): SparkException
- def internalError(msg: String, context: Array[QueryContext], summary: String): SparkException
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 require(requirement: Boolean, errorClass: String, messageParameters: => Map[String, String]): Unit
This is like the Scala require precondition, except it uses SparkIllegalArgumentException.
This is like the Scala require precondition, except it uses SparkIllegalArgumentException.
- requirement
The requirement you want to check
- errorClass
The error class to type if the requirement isn't passed
- messageParameters
Message parameters to append to the message
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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)