Skip to main content

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

Syntax
public class ActivityExceptionsHandler

Properties

Type

Type of the execution timeout ActivityExceptionsHandlerType

Declaration
[JsonConverter(typeof(StringEnumConverter))]
public ActivityExceptionsHandlerType Type { get; set; }
Property value
TypeDescription
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

Declaration
public string NameForSet { get; set; }
Property value
TypeDescription
string

RetryCount

Count of resumption execution ActivityTimeoutType.Retry

Declaration
public int RetryCount { get; set; }
Property value
TypeDescription
int

Exceptions

KeyWords for catching exceptions

Declaration
public List<string> Exceptions { get; set; }
Property value
TypeDescription
List<string>

Order

Declaration
public int Order { get; set; }
Property value
TypeDescription
int

Methods

CanHandle(Exception)

Declaration
public bool CanHandle(Exception exception)
Parameters
TypeNameDescription
Exceptionexception
Returns
TypeDescription
bool

Fields

UniversalExceptionName

Declaration
public const string UniversalExceptionName = "*"
Returns
TypeDescription
string

Extension Methods