Google Cloud Dataflow SDK for Java, version 1.9.1
com.google.cloud.dataflow.sdk.runners
Class DataflowJobUpdatedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.cloud.dataflow.sdk.runners.DataflowJobException
-
- com.google.cloud.dataflow.sdk.runners.DataflowJobUpdatedException
-
- All Implemented Interfaces:
- Serializable
public class DataflowJobUpdatedException extends DataflowJobException
Signals that a job run by aBlockingDataflowPipelineRunner
was updated during execution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DataflowJobUpdatedException(DataflowPipelineJob job, String message, DataflowPipelineJob replacedByJob)
Create a newDataflowJobUpdatedException
with the specified originalDataflowPipelineJob
, message, and replacementDataflowPipelineJob
.DataflowJobUpdatedException(DataflowPipelineJob job, String message, DataflowPipelineJob replacedByJob, Throwable cause)
Create a newDataflowJobUpdatedException
with the specified originalDataflowPipelineJob
, message, replacementDataflowPipelineJob
, and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DataflowPipelineJob
getReplacedByJob()
The new job that replaces the job terminated with this exception.-
Methods inherited from class com.google.cloud.dataflow.sdk.runners.DataflowJobException
getJob
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DataflowJobUpdatedException
public DataflowJobUpdatedException(DataflowPipelineJob job, String message, DataflowPipelineJob replacedByJob)
Create a newDataflowJobUpdatedException
with the specified originalDataflowPipelineJob
, message, and replacementDataflowPipelineJob
.
-
DataflowJobUpdatedException
public DataflowJobUpdatedException(DataflowPipelineJob job, String message, DataflowPipelineJob replacedByJob, Throwable cause)
Create a newDataflowJobUpdatedException
with the specified originalDataflowPipelineJob
, message, replacementDataflowPipelineJob
, and cause.
-
-
Method Detail
-
getReplacedByJob
public DataflowPipelineJob getReplacedByJob()
The new job that replaces the job terminated with this exception.
-
-