Class RestartableException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RestartableException
    extends JetException
    Exception to throw from job-executing methods to indicate a failure that can be resolved by restarting the job.

    It is handled when thrown from:

    If this exception is caught, the job will be terminated abruptly and restarted (if so configured).
    Since:
    Jet 3.0
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RestartableException

        public RestartableException()
      • RestartableException

        public RestartableException​(java.lang.String message)
      • RestartableException

        public RestartableException​(java.lang.String message,
                                    java.lang.Throwable cause)
      • RestartableException

        public RestartableException​(java.lang.Throwable cause)