public class AnalysisException extends Exception implements SparkThrowable, scala.Serializable
Constructor and Description |
---|
AnalysisException(String errorClass,
String[] messageParameters) |
AnalysisException(String errorClass,
String[] messageParameters,
scala.Option<Throwable> cause) |
AnalysisException(String errorClass,
String[] messageParameters,
org.apache.spark.sql.catalyst.trees.Origin origin) |
Modifier and Type | Method and Description |
---|---|
scala.Option<Throwable> |
cause() |
AnalysisException |
copy(String message,
scala.Option<Object> line,
scala.Option<Object> startPosition,
scala.Option<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> plan,
scala.Option<Throwable> cause,
scala.Option<String> errorClass,
String[] messageParameters) |
scala.Option<String> |
errorClass() |
String |
getErrorClass() |
String |
getMessage() |
String |
getSimpleMessage() |
scala.Option<Object> |
line() |
String |
message() |
String[] |
messageParameters() |
scala.Option<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> |
plan() |
scala.Option<Object> |
startPosition() |
AnalysisException |
withPosition(scala.Option<Object> line,
scala.Option<Object> startPosition) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
getSqlState, isInternalError
public AnalysisException(String errorClass, String[] messageParameters, scala.Option<Throwable> cause)
public AnalysisException(String errorClass, String[] messageParameters)
public AnalysisException(String errorClass, String[] messageParameters, org.apache.spark.sql.catalyst.trees.Origin origin)
public String message()
public scala.Option<Object> line()
public scala.Option<Object> startPosition()
public scala.Option<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> plan()
public scala.Option<Throwable> cause()
public scala.Option<String> errorClass()
public String[] messageParameters()
public AnalysisException copy(String message, scala.Option<Object> line, scala.Option<Object> startPosition, scala.Option<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> plan, scala.Option<Throwable> cause, scala.Option<String> errorClass, String[] messageParameters)
public AnalysisException withPosition(scala.Option<Object> line, scala.Option<Object> startPosition)
public String getMessage()
getMessage
in class Throwable
public String getSimpleMessage()
public String getErrorClass()
getErrorClass
in interface SparkThrowable