SparkException
org.apache.spark.SparkException
class SparkException(message: String, cause: Throwable, val errorClass: Option[String]) extends RuntimeException
The base type for errors raised by the Spark Connect server and surfaced to the client.
Server-side failures arrive over gRPC; the client translates them into this hierarchy so callers catch familiar Spark exceptions (SparkException, AnalysisException, ParseException) carrying the server's original message and error class, rather than a raw io.grpc.StatusRuntimeException.
Attributes
- Graph
-
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class AnalysisExceptionclass ParseException
Members list
Value members
Concrete methods
The Spark error class (e.g. TABLE_OR_VIEW_NOT_FOUND), if the server provided one.
The Spark error class (e.g. TABLE_OR_VIEW_NOT_FOUND), if the server provided one.
Attributes
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Inherited from:
- Throwable
Concrete fields
In this article