Table of Contents

Class SimulationRoutineException

Namespace
Cognite.Simulator.Utils
Assembly
Cognite.Simulator.Utils.dll

Represents a simulation routine error

public class SimulationRoutineException : SimulationException, ISerializable
Inheritance
SimulationRoutineException
Implements
Inherited Members

Constructors

SimulationRoutineException(string, int, int)

Creates a new exception with the provided parameters

public SimulationRoutineException(string message, int stageNumber = 0, int stepNumber = 0)

Parameters

message string

Simulator error message

stageNumber int

Stage number

stepNumber int

Step number

Properties

OriginalMessage

Original message coming from the simulator

public string OriginalMessage { get; }

Property Value

string

StageNumber

Which stage failed

public int StageNumber { get; }

Property Value

int

StepNumber

Which step failed

public int StepNumber { get; }

Property Value

int