public class SparkThrowableHelper
extends Object
SparkThrowable
to access error class information and
construct error messages.Constructor and Description |
---|
SparkThrowableHelper() |
Modifier and Type | Method and Description |
---|---|
static java.net.URL |
errorClassesUrl() |
static scala.collection.immutable.SortedMap<String,org.apache.spark.ErrorInfo> |
errorClassToInfoMap() |
static String |
getMessage(String errorClass,
String[] messageParameters) |
static String |
getSqlState(String errorClass) |
public static java.net.URL errorClassesUrl()
public static scala.collection.immutable.SortedMap<String,org.apache.spark.ErrorInfo> errorClassToInfoMap()
public static String getMessage(String errorClass, String[] messageParameters)
public static String getSqlState(String errorClass)