Package org.apache.spark.sql.streaming
Class StreamingQueryException
- All Implemented Interfaces:
Serializable
,SparkThrowable
Exception that stopped a
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- Since:
- 2.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.spark.SparkThrowable
getQueryContext, getSqlState, isInternalError
-
Constructor Details
-
StreamingQueryException
-
-
Method Details
-
cause
-
endOffset
-
getErrorClass
- Specified by:
getErrorClass
in interfaceSparkThrowable
-
getMessageParameters
- Specified by:
getMessageParameters
in interfaceSparkThrowable
-
message
-
startOffset
-
time
public long time()Time when the exception occurred -
toString
-