public class StreamingQueryException extends Exception implements SparkThrowable
StreamingQuery
. Use cause
get the actual exception
that caused the failure.
param: message Message of this exception
param: cause Internal cause of this exception
param: startOffset Starting offset in json of the range of data in which exception occurred
param: endOffset Ending offset in json of the range of data in exception occurredConstructor and Description |
---|
StreamingQueryException(String queryDebugString,
Throwable cause,
String startOffset,
String endOffset,
String errorClass,
scala.collection.immutable.Map<String,String> messageParameters) |
Modifier and Type | Method and Description |
---|---|
Throwable |
cause() |
String |
endOffset() |
String |
getErrorClass() |
java.util.Map<String,String> |
getMessageParameters() |
String |
message() |
String |
startOffset() |
long |
time()
Time when the exception occurred
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
getQueryContext, getSqlState, isInternalError
public StreamingQueryException(String queryDebugString, Throwable cause, String startOffset, String endOffset, String errorClass, scala.collection.immutable.Map<String,String> messageParameters)
public Throwable cause()
public String endOffset()
public String getErrorClass()
getErrorClass
in interface SparkThrowable
public java.util.Map<String,String> getMessageParameters()
getMessageParameters
in interface SparkThrowable
public String message()
public String startOffset()
public long time()
public String toString()
toString
in class Throwable