PySpark referenceClassesStreamingQueryexceptionOn this pageexception (StreamingQuery) Returns the StreamingQueryException if the query was terminated by an exception, or None if the query terminated normally. Syntax exception() Returns StreamingQueryException or None