Class WorkflowValidationFailedException
Represents an System.Exception that occurs when a workflow does not pass validation. This class cannot be inherited.
Inheritance
Implements
Inherited Members
Namespace: Mediachase.Commerce.WorkflowCompatibility
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public sealed class WorkflowValidationFailedException : Exception, ISerializable, _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 |