Class TypeAlreadyRegisteredException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TypeAlreadyRegisteredException
    extends java.lang.IllegalStateException
    This exception is thrown when worker has
    • an activity instance for the activity type
    • a workflow type or factory for the workflow type
    already registered.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeAlreadyRegisteredException​(java.lang.String registeredTypeName, java.lang.String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRegisteredTypeName()
      Workflow or Activity type that is already registered
      • 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

      • TypeAlreadyRegisteredException

        public TypeAlreadyRegisteredException​(java.lang.String registeredTypeName,
                                              java.lang.String message)
    • Method Detail

      • getRegisteredTypeName

        public java.lang.String getRegisteredTypeName()
        Workflow or Activity type that is already registered