[longomatch] Add an exception for addins to request shutdown.



commit c03c8744a1fd001b9c746ffc00405dacf7b37e64
Author: Julien Moutte <julien fluendo com>
Date:   Tue Dec 2 15:42:49 2014 +0100

    Add an exception for addins to request shutdown.

 LongoMatch.Core/Common/Exceptions.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Common/Exceptions.cs b/LongoMatch.Core/Common/Exceptions.cs
index 23f6c02..c764d46 100644
--- a/LongoMatch.Core/Common/Exceptions.cs
+++ b/LongoMatch.Core/Common/Exceptions.cs
@@ -82,5 +82,13 @@ namespace LongoMatch.Core.Common
        public class TimerNotRunningException: Exception
        {
        }
+
+       public class AddinRequestShutdownException: Exception
+       {
+               public AddinRequestShutdownException (string reason):
+                       base (reason)
+               {
+               }
+       }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]