Package org.apache.ignite.compute
Class ComputeJobFailoverException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- org.apache.ignite.IgniteException
- 
- org.apache.ignite.compute.ComputeJobFailoverException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class ComputeJobFailoverException extends IgniteException This runtime exception can be thrown fromComputeJob.execute()method to force job failover to another node within task topology. AnyIgniteClosure,Callable, orRunnableinstance passed into any of theIgniteComputemethods can also throw this exception to force failover.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ComputeJobFailoverException(String msg)Creates new exception with given error message.ComputeJobFailoverException(String msg, @Nullable Throwable cause)Creates new exception with given error message and optional nested exception.ComputeJobFailoverException(Throwable cause)Creates new given throwable as a cause and source of error message.
 - 
Method Summary- 
Methods inherited from class org.apache.ignite.IgniteExceptiongetCause, hasCause, toString
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
- 
 
- 
- 
- 
Constructor Detail- 
ComputeJobFailoverExceptionpublic ComputeJobFailoverException(String msg) Creates new exception with given error message.- Parameters:
- msg- Error message.
 
 - 
ComputeJobFailoverExceptionpublic ComputeJobFailoverException(Throwable cause) Creates new given throwable as a cause and source of error message.- Parameters:
- cause- Non-null throwable cause.
 
 
- 
 
-