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 ErrorClassesJsonReader |
errorReader() |
static String |
getMessage(SparkThrowable e,
scala.Enumeration.Value format) |
static String |
getMessage(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters) |
static String |
getMessage(String errorClass,
java.util.Map<String,String> messageParameters) |
static String |
getMessage(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
String context) |
static String |
getMessage(Throwable throwable) |
static String |
getSqlState(String errorClass) |
static boolean |
isInternalError(String errorClass) |
public static ErrorClassesJsonReader errorReader()
public static String getMessage(String errorClass, scala.collection.immutable.Map<String,String> messageParameters)
public static String getMessage(String errorClass, java.util.Map<String,String> messageParameters)
public static String getMessage(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, String context)
public static String getSqlState(String errorClass)
public static boolean isInternalError(String errorClass)
public static String getMessage(SparkThrowable e, scala.Enumeration.Value format)
public static String getMessage(Throwable throwable)