Class ComputeJobFailoverException
This runtime exception can be thrown from Execute() method to force job failover to another node within task topology. IComputeFunc<TArg, TRes> or IComputeFunc<TRes> passed into any of the ICompute methods can also throw this exception to force failover.
Namespace: Apache.Ignite.Core.Compute
Assembly: Apache.Ignite.Core.dll
Syntax
public class ComputeJobFailoverException : IgniteException
Constructors
ComputeJobFailoverException()
Initializes a new instance of the ComputeJobFailoverException class.
Declaration
public ComputeJobFailoverException()
ComputeJobFailoverException(SerializationInfo, StreamingContext)
Initializes a new instance of the ComputeJobFailoverException class.
Declaration
protected ComputeJobFailoverException(SerializationInfo info, StreamingContext ctx)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | Serialization information. |
StreamingContext | ctx | Streaming context. |
ComputeJobFailoverException(String)
Initializes a new instance of the ComputeJobFailoverException class.
Declaration
public ComputeJobFailoverException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
ComputeJobFailoverException(String, Exception)
Initializes a new instance of the ComputeJobFailoverException class.
Declaration
public ComputeJobFailoverException(string message, Exception cause)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
Exception | cause | The cause. |