public class SparkException extends Exception implements SparkThrowable
Constructor and Description |
---|
SparkException(String message) |
SparkException(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
Throwable cause) |
SparkException(String errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
Throwable cause,
QueryContext[] context,
String summary) |
SparkException(String message,
Throwable cause) |
SparkException(String message,
Throwable cause,
scala.Option<String> errorClass,
scala.collection.immutable.Map<String,String> messageParameters,
QueryContext[] context) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorClass() |
java.util.Map<String,String> |
getMessageParameters() |
QueryContext[] |
getQueryContext() |
static SparkException |
internalError(String msg) |
static SparkException |
internalError(String msg,
QueryContext[] context,
String summary) |
static SparkException |
internalError(String msg,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
getSqlState, isInternalError
public SparkException(String message, Throwable cause, scala.Option<String> errorClass, scala.collection.immutable.Map<String,String> messageParameters, QueryContext[] context)
public SparkException(String message, Throwable cause)
public SparkException(String message)
public SparkException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, Throwable cause, QueryContext[] context, String summary)
public SparkException(String errorClass, scala.collection.immutable.Map<String,String> messageParameters, Throwable cause)
public static SparkException internalError(String msg, QueryContext[] context, String summary)
public static SparkException internalError(String msg)
public static SparkException internalError(String msg, Throwable cause)
public java.util.Map<String,String> getMessageParameters()
getMessageParameters
in interface SparkThrowable
public String getErrorClass()
getErrorClass
in interface SparkThrowable
public QueryContext[] getQueryContext()
getQueryContext
in interface SparkThrowable