Class UnsupportedContinueAsNewRequest

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnsupportedContinueAsNewRequest
    extends java.lang.Error
    Thrown when Workflow.continueAsNew(java.lang.Object...) is called from an unsupported location.

    The reason this class extends Error is for application workflow code to not catch it by mistake. The default behavior of the SDK is to block workflow execution while Error is thrown.

    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

      • UnsupportedContinueAsNewRequest

        public UnsupportedContinueAsNewRequest​(java.lang.String message)