Table of Contents

Class WorkflowRuntimeException

Namespace
Bonsai
Assembly
Bonsai.Core.dll

Represents errors that occur during the execution of an expression builder workflow.

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

Constructors

WorkflowRuntimeException()

Initializes a new instance of the WorkflowRuntimeException class.

public WorkflowRuntimeException()

WorkflowRuntimeException(SerializationInfo, StreamingContext)

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

protected WorkflowRuntimeException(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.

WorkflowRuntimeException(string)

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

public WorkflowRuntimeException(string message)

Parameters

message string

The message that describes the error.

WorkflowRuntimeException(string, ExpressionBuilder)

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

public WorkflowRuntimeException(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.

WorkflowRuntimeException(string, ExpressionBuilder, Exception)

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

public WorkflowRuntimeException(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.

WorkflowRuntimeException(string, Exception)

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

public WorkflowRuntimeException(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.