Package io.temporal.worker
Class TypeAlreadyRegisteredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- io.temporal.worker.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
- 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
-