Zum Hauptinhalt springen

PipelineExecutionException

Namespace: Meshmakers.Octo.Sdk.Common.Services

Exception thrown when a pipeline execution fails

public class PipelineExecutionException : Exception, ISerializable

Inheritance Object → Exception → PipelineExecutionException
Implements ISerializable

Properties​

TargetSite​

public MethodBase TargetSite { get; }

Property Value​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Constructors​

PipelineExecutionException()​

public PipelineExecutionException()

PipelineExecutionException(String)​

public PipelineExecutionException(string message)

Parameters​

message String

PipelineExecutionException(String, Exception)​

public PipelineExecutionException(string message, Exception inner)

Parameters​

message String

inner Exception

Methods​

PipelineNotFound(String, RtEntityId)​

Exception thrown when a pipeline is not found

public static Exception PipelineNotFound(string tenantId, RtEntityId pipelineRtEntityId)

Parameters​

tenantId String

pipelineRtEntityId RtEntityId

Returns​

Exception

PipelineExecutionNotFound(String, RtEntityId, Guid)​

Exception thrown when a pipeline execution is not found

public static Exception PipelineExecutionNotFound(string tenantId, RtEntityId pipelineRtEntityId, Guid pipelineExecutionId)

Parameters​

tenantId String

pipelineRtEntityId RtEntityId

pipelineExecutionId Guid

Returns​

Exception

PipelineTriggerMissing(String, RtEntityId)​

Exception thrown when a pipeline trigger is missing

public static Exception PipelineTriggerMissing(string tenantId, RtEntityId pipelineRtEntityId)

Parameters​

tenantId String

pipelineRtEntityId RtEntityId

Returns​

Exception

PipelineTriggerAlreadyRegistered(String, RtEntityId)​

Exception thrown when a pipeline trigger is already registered

public static Exception PipelineTriggerAlreadyRegistered(string tenantId, RtEntityId pipelineRtEntityId)

Parameters​

tenantId String

pipelineRtEntityId RtEntityId

Returns​

Exception

PipelineRegistrationFailed(String, List<String>)​

Exception thrown when a pipeline registration fails

public static Exception PipelineRegistrationFailed(string tenantId, List<string> errorMessages)

Parameters​

tenantId String

errorMessages List<String>

Returns​

Exception

StartTriggerPipelineNodesFailed(String, List<String>)​

Exception thrown when a pipeline trigger start fails

public static Exception StartTriggerPipelineNodesFailed(string tenantId, List<string> errorMessages)

Parameters​

tenantId String

errorMessages List<String>

Returns​

Exception

EtlContextTypeMismatch<TContext>(IEtlContext)​

Exception thrown when a pipeline trigger end fails

public static Exception EtlContextTypeMismatch<TContext>(IEtlContext context)

Type Parameters​

TContext

Parameters​

context IEtlContext

Returns​

Exception

GlobalConfigurationParameterNotFound(String)​

Exception thrown when a global configuration parameter is not found

public static Exception GlobalConfigurationParameterNotFound(string configurationName)

Parameters​

configurationName String
Configuration name

Returns​

Exception

ParentPropertyNotFound(NodePath, String)​

Exception thrown when a parent property is not found

public static Exception ParentPropertyNotFound(NodePath nodePath, string fcPath)

Parameters​

nodePath NodePath
Path to the node

fcPath String
Path to the field

Returns​

Exception

PathMustBeArray(String, String, String)​

Exception thrown when a value is not an array

public static Exception PathMustBeArray(string nodePath, string configurationPropertyName, string path)

Parameters​

nodePath String
Path to the node

configurationPropertyName String
Name of the configuration property

path String
Path to the value

Returns​

Exception

PathNotFound(NodePath, String)​

Exception thrown when a value is not an array

public static Exception PathNotFound(NodePath nodePath, string path)

Parameters​

nodePath NodePath
Path to the node

path String
Path to the value

Returns​

Exception

SecretNotSupported(NodePath, String)​

Exception thrown when a node that converts, compares or computes values is asked to operate on a Secret (AB#5538): a configured value type Secret, or a Secret marker ({"isSet": …}) at the path it reads. The message names the node and the path, never a value.

public static Exception SecretNotSupported(NodePath nodePath, string path)

Parameters​

nodePath NodePath
Path to the node

path String
Data path or setting that carries the Secret, if any

Returns​

Exception

ValueTypeNotSupported(NodePath, AttributeValueTypesDto, String)​

Exception thrown when a value type is not supported

public static Exception ValueTypeNotSupported(NodePath nodePath, AttributeValueTypesDto valueType, string path)

Parameters​

nodePath NodePath
Path to the node

valueType AttributeValueTypesDto
Value type that is not supported

path String
Path the value type has been loaded from

Returns​

Exception

DefinedValueTypeNotSupported(NodePath, AttributeValueTypesDto, Object)​

Exception thrown when a value type is not supported

public static Exception DefinedValueTypeNotSupported(NodePath nodePath, AttributeValueTypesDto valueType, object value)

Parameters​

nodePath NodePath
Path to the node

valueType AttributeValueTypesDto
Value type that is not supported

value Object
Value that is not supported

Returns​

Exception

InputValueNull(INodeContext)​

Exception thrown when a value is not set

public static Exception InputValueNull(INodeContext nodeContext)

Parameters​

nodeContext INodeContext
Node context

Returns​

Exception

ValueNotSet(INodeContext, String)​

Exception thrown when a value is not set

public static Exception ValueNotSet(INodeContext nodeContext, string valuePath)

Parameters​

nodeContext INodeContext
Node context

valuePath String
Path to the value that is not set

Returns​

Exception

Exceptions​

NotImplementedException

JoinKeyNotMatched(NodePath, String, String, String)​

Exception thrown when a join key has no match in the join array and the node is configured to fail on it

public static Exception JoinKeyNotMatched(NodePath nodePath, string keyPath, string keyValue, string joinPath)

Parameters​

nodePath NodePath
Path to the node

keyPath String
Path the key was read from

keyValue String
The key value that has no match

joinPath String
Path to the join array that was searched

Returns​

Exception

JoinPathHasNoRecords(NodePath, String)​

Exception thrown when a join path resolves to no records and the node is configured to fail on unmatched keys

public static Exception JoinPathHasNoRecords(NodePath nodePath, string joinPath)

Parameters​

nodePath NodePath
Path to the node

joinPath String
Path to the join array that resolved to no records

Returns​

Exception

IterationsFailed(NodePath, Int32, IReadOnlyCollection<ValueTuple<UInt32, Exception>>)​

Exception thrown when iterations of a loop node failed while the loop continued on error. The message names only the failed indices; the child exceptions (whose messages may carry item payload content) travel in the inner AggregateException.

public static Exception IterationsFailed(NodePath nodePath, int totalCount, IReadOnlyCollection<ValueTuple<uint, Exception>> failures)

Parameters​

nodePath NodePath
Path to the node

totalCount Int32
Total number of iterations

failures IReadOnlyCollection<ValueTuple<UInt32, Exception>>
Failed iterations with their source-array indices, ordered by index

Returns​

Exception

ConfigurationPropertyRequires(NodePath, String, String)​

Exception thrown when a configuration property is only valid together with another one

public static Exception ConfigurationPropertyRequires(NodePath nodePath, string configurationPropertyName, string requiredPropertyName)

Parameters​

nodePath NodePath
Path to the node

configurationPropertyName String
Name of the configured property

requiredPropertyName String
Name of the property it requires

Returns​

Exception

ConfigurationPropertyEmpty(NodePath, String)​

Exception thrown when a configuration property is set but carries no value

public static Exception ConfigurationPropertyEmpty(NodePath nodePath, string configurationPropertyName)

Parameters​

nodePath NodePath
Path to the node

configurationPropertyName String
Name of the configured property

Returns​

Exception

ConfigurationPropertyPathInvalid(NodePath, String, String)​

Exception thrown when a configuration property contains a path that cannot be written to

public static Exception ConfigurationPropertyPathInvalid(NodePath nodePath, string configurationPropertyName, string reason)

Parameters​

nodePath NodePath
Path to the node

configurationPropertyName String
Name of the configuration property

reason String
Why the path is not writable; carries the offending path

Returns​

Exception

TimeZoneNotFound(NodePath, String)​

Exception thrown when a configured time zone id cannot be resolved on the running system

public static Exception TimeZoneNotFound(NodePath nodePath, string timeZoneId)

Parameters​

nodePath NodePath
Path to the node

timeZoneId String
The time zone id that could not be resolved

Returns​

Exception

InvalidUnixTimestamp(NodePath, String, String, Exception)​

Exception thrown when a value cannot be read as Unix time in milliseconds

public static Exception InvalidUnixTimestamp(NodePath nodePath, string path, string reason, Exception inner)

Parameters​

nodePath NodePath
Path to the node

path String
Path the value was read from

reason String
Why the value is not a usable Unix timestamp

inner Exception
The underlying conversion or range error

Returns​

Exception

ConfigurationPropertyPathsMustNotOverlap(NodePath, String, String, String, String)​

Exception thrown when two configuration properties address overlapping paths

public static Exception ConfigurationPropertyPathsMustNotOverlap(NodePath nodePath, string firstPropertyName, string secondPropertyName, string firstPath, string secondPath)

Parameters​

nodePath NodePath
Path to the node

firstPropertyName String
Name of the first configuration property

secondPropertyName String
Name of the second configuration property

firstPath String
Path the first property addresses

secondPath String
Path the second property addresses

Returns​

Exception