Line | |
---|
1 | #region License Information
|
---|
2 | /*
|
---|
3 | * This file is part of SimSharp which is licensed under the MIT license.
|
---|
4 | * See the LICENSE file in the project root for more information.
|
---|
5 | */
|
---|
6 | #endregion
|
---|
7 |
|
---|
8 | using System;
|
---|
9 |
|
---|
10 | namespace SimSharp {
|
---|
11 | /// <summary>
|
---|
12 | /// An exception that is thrown to stop the simulation.
|
---|
13 | /// </summary>
|
---|
14 | public class StopSimulationException : Exception {
|
---|
15 | public object Value { get; private set; }
|
---|
16 |
|
---|
17 | public StopSimulationException(object value) {
|
---|
18 | Value = value;
|
---|
19 | }
|
---|
20 | }
|
---|
21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.