forked from cschladetsch/CsharpFlow
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathException.cs
More file actions
37 lines (32 loc) · 730 Bytes
/
Exception.cs
File metadata and controls
37 lines (32 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// (C) 2012 Christian Schladetsch. See http://www.schladetsch.net/flow/license.txt for Licensing information.
using System;
namespace Flow
{
/// <summary>
/// Future not set exception.
/// </summary>
public class FutureNotSetException : Exception
{
public FutureNotSetException () : base("Future value not arrived yet")
{
}
}
/// <summary>
/// Future already set exception.
/// </summary>
public class FutureAlreadySetException : Exception
{
public FutureAlreadySetException () : base("Future already set")
{
}
}
/// <summary>
/// Reentrancy exception.
/// </summary>
public class ReentrancyException : Exception
{
public ReentrancyException () : base("Method is not re-entrant")
{
}
}
}