Package org.apache.spark
Class SparkThrowableHelper
Object
org.apache.spark.SparkThrowableHelper
Companion object used by instances of
SparkThrowable
to access error class information and
construct error messages.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorClassesJsonReader
static String
getMessage
(String errorClass, Map<String, String> messageParameters) static String
getMessage
(String errorClass, scala.collection.immutable.Map<String, String> messageParameters) static String
getMessage
(String errorClass, scala.collection.immutable.Map<String, String> messageParameters, String context) static String
getMessage
(SparkThrowable e, scala.Enumeration.Value format) static scala.collection.immutable.Seq<String>
getMessageParameters
(String errorClass) static String
getSqlState
(String errorClass) static boolean
isInternalError
(String errorClass) static boolean
isValidErrorClass
(String errorClass)
-
Constructor Details
-
SparkThrowableHelper
public SparkThrowableHelper()
-
-
Method Details
-
errorReader
-
getMessage
-
getMessage
-
getMessage
-
getSqlState
-
isValidErrorClass
-
getMessageParameters
-
isInternalError
-
getMessage
-