-
Notifications
You must be signed in to change notification settings - Fork 2k
/
DataNotAvailableException.cs
35 lines (31 loc) · 1.14 KB
/
DataNotAvailableException.cs
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
using System;
using System.Runtime.Serialization;
using Orleans.Runtime;
namespace Orleans.Streams
{
/// <summary>
/// Exception indicates that the requested data is not available.
/// </summary>
[Serializable]
public class DataNotAvailableException : OrleansException
{
public DataNotAvailableException() : this("Data not found") { }
public DataNotAvailableException(string message) : base(message) { }
public DataNotAvailableException(string message, Exception inner) : base(message, inner) { }
public DataNotAvailableException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
[Serializable]
public class CacheFullException : OrleansException
{
public CacheFullException() : this("Queue message cache is full") { }
public CacheFullException(string message) : base(message) { }
public CacheFullException(string message, Exception inner) : base(message, inner) { }
public CacheFullException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}