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 occurred| Constructor 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, setStackTracegetQueryContext, getSqlState, isInternalErrorpublic 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 SparkThrowablepublic java.util.Map<String,String> getMessageParameters()
getMessageParameters in interface SparkThrowablepublic String message()
public String startOffset()
public long time()
public String toString()
toString in class Throwable