Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class WorkflowValidationFailedException

Represents an System.Exception that occurs when a workflow does not pass validation. This class cannot be inherited.

Inheritance
System.Object
WorkflowValidationFailedException
Namespace: Mediachase.Commerce.WorkflowCompatibility
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public sealed class WorkflowValidationFailedException : Exception

Constructors

WorkflowValidationFailedException()

Initializes a new instance of the WorkflowValidationFailedException class.

Declaration
public WorkflowValidationFailedException()

WorkflowValidationFailedException(String)

Initializes a new instance of the WorkflowValidationFailedException class. The exception message is passed as a parameter.

Declaration
public WorkflowValidationFailedException(string message)
Parameters
Type Name Description
System.String message

The exception message.

WorkflowValidationFailedException(String, ValidationErrorCollection)

Initializes a new instance of the WorkflowValidationFailedException class. The exception message and the errors collection are passed as parameters.

Declaration
public WorkflowValidationFailedException(string message, ValidationErrorCollection errors)
Parameters
Type Name Description
System.String message

The exception message.

ValidationErrorCollection errors

The ValidationErrorCollection associated with this exception.

WorkflowValidationFailedException(String, Exception)

Initializes a new instance of the WorkflowValidationFailedException class. The exception message and the inner exception are passed as parameters.

Declaration
public WorkflowValidationFailedException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The exception message.

System.Exception innerException

The System.Exception.InnerException associated with this exception.

Properties

Errors

Returns ValidationErrors that were obtained when creating/validating workflows.

Declaration
public ValidationErrorCollection Errors { get; }
Property Value
Type Description
ValidationErrorCollection