Table of Contents

Class PerformableException

Namespace
CSF.Screenplay.Performables
Assembly
CSF.Screenplay.Abstractions.dll

Thrown when a Performable fails with an unexpected exception.

public class PerformableException : Exception, ISerializable
Inheritance
PerformableException
Implements
Inherited Members

Remarks

This exception type is rethrown from the Actor when they are executing the performable, in order to provide further context about where the error has occurred.

Constructors

PerformableException()

Initialises a new instance of PerformableException.

public PerformableException()

PerformableException(string)

Initialises a new instance of PerformableException.

public PerformableException(string message)

Parameters

message string

The exception message

PerformableException(string, Exception)

Initialises a new instance of PerformableException.

public PerformableException(string message, Exception inner)

Parameters

message string

The exception message

inner Exception

The inner exception

Properties

Performable

Gets or sets a reference to the Performable object which was the cause of the exception.

public object Performable { get; set; }

Property Value

object