Table of Contents

Class WorkflowException

Namespace
Bonsai
Assembly
Bonsai.Core.dll

Represents errors that occur in expression builder workflows.

[Serializable]
public class WorkflowException : Exception, ISerializable, _Exception
Inheritance
WorkflowException
Implements
Derived
Inherited Members

Constructors

WorkflowException()

Initializes a new instance of the WorkflowException class.

public WorkflowException()

WorkflowException(SerializationInfo, StreamingContext)

Initializes a new instance of the WorkflowException class with serialized data.

protected WorkflowException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

WorkflowException(string)

Initializes a new instance of the WorkflowException class with a specified error message.

public WorkflowException(string message)

Parameters

message string

The message that describes the error.

WorkflowException(string, ExpressionBuilder)

Initializes a new instance of the WorkflowException class with a specified error message and a reference to the ExpressionBuilder that is the cause of this exception.

public WorkflowException(string message, ExpressionBuilder builder)

Parameters

message string

The error message that explains the reason for the exception.

builder ExpressionBuilder

The ExpressionBuilder that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no builder is specified.

WorkflowException(string, ExpressionBuilder, Exception)

Initializes a new instance of the WorkflowException class with a specified error message and a reference to both the ExpressionBuilder and the inner exception that caused this exception.

public WorkflowException(string message, ExpressionBuilder builder, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

builder ExpressionBuilder

The ExpressionBuilder that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no builder is specified.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

WorkflowException(string, Exception)

Initializes a new instance of the WorkflowException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public WorkflowException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Properties

Builder

Gets the ExpressionBuilder instance that was the cause for the exception.

public ExpressionBuilder Builder { get; }

Property Value

ExpressionBuilder