Class PipelineSynthesisException
- Namespace
- Excalibur.Dispatch.Configuration
- Assembly
- Excalibur.Dispatch.dll
Exception thrown when pipeline synthesis fails.
[SuppressMessage("Design", "CA1032:Implement standard exception constructors", Justification = "This exception requires specific ValidationIssue[] data; standard constructors would allow invalid state.")]
public sealed class PipelineSynthesisException : Exception, ISerializable
- Inheritance
-
PipelineSynthesisException
- Implements
- Inherited Members
- Extension Methods
Remarks
Creates a new pipeline synthesis exception.
Constructors
PipelineSynthesisException()
Initializes a new instance of the PipelineSynthesisException class.
public PipelineSynthesisException()
PipelineSynthesisException(string?)
Initializes a new instance of the PipelineSynthesisException class with a message.
public PipelineSynthesisException(string? message)
Parameters
messagestringThe failure message.
PipelineSynthesisException(string, ValidationIssue[])
Exception thrown when pipeline synthesis fails.
public PipelineSynthesisException(string message, ValidationIssue[] validationIssues)
Parameters
messagestringThe failure message.
validationIssuesValidationIssue[]The validation issues that caused the failure.
Remarks
Creates a new pipeline synthesis exception.
PipelineSynthesisException(string?, Exception?)
Initializes a new instance of the PipelineSynthesisException class with a message and inner exception.
public PipelineSynthesisException(string? message, Exception? innerException)
Parameters
Remarks
The innerException parameter cannot be forwarded to the base Exception(string, Exception)
constructor because the primary constructor locks the base call to Exception(message).
This overload exists to satisfy the standard exception constructor pattern (CA1032).
Properties
ValidationIssues
Gets the validation issues that caused the synthesis failure.
public ValidationIssue[] ValidationIssues { get; }
Property Value
- ValidationIssue[]
The validation issues that caused the synthesis failure.