Class ActivityExceptionsHandler
Exceptions handler for activity
Inheritance
↳ object
↳ ActivityExceptionsHandler
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Model
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic class ActivityExceptionsHandler
Properties
Type
Type of the execution timeout ActivityExceptionsHandlerType
Declaration[JsonConverter(typeof(StringEnumConverter))]
public ActivityExceptionsHandlerType Type { get; set; }
Type | Description |
---|---|
ActivityExceptionsHandlerType |
NameForSet
Name of the activity if timeout type is action ActivityExceptionsHandlerType.SetActivity or name of the state if timeout type is action ActivityExceptionsHandlerType.SetState
Declarationpublic string NameForSet { get; set; }
Type | Description |
---|---|
string |
RetryCount
Count of resumption execution ActivityTimeoutType.Retry
Declarationpublic int RetryCount { get; set; }
Type | Description |
---|---|
int |
Exceptions
KeyWords for catching exceptions
Declarationpublic List<string> Exceptions { get; set; }
Type | Description |
---|---|
List<string> |
Order
Declarationpublic int Order { get; set; }
Type | Description |
---|---|
int |
Methods
CanHandle(Exception)
Declarationpublic bool CanHandle(Exception exception)
Type | Name | Description |
---|---|---|
Exception | exception |
Type | Description |
---|---|
bool |
Fields
UniversalExceptionName
Declarationpublic const string UniversalExceptionName = "*"
Type | Description |
---|---|
string |