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 String
getSqlState
(String errorClass) static boolean
isInternalError
(String errorClass)
-
Constructor Details
-
SparkThrowableHelper
public SparkThrowableHelper()
-
-
Method Details
-
errorReader
-
getMessage
-
getMessage
-
getMessage
-
getSqlState
-
isInternalError
-
getMessage
-