Skip to content
Browse files

Adding deployment & validation actions.

Adding InvalidDeploymentException

git-svn-id: https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk@2039 079b0acf-d9fa-0310-9935-e5ade295c882
  • Loading branch information...
1 parent 2bf5469 commit 893fca4cf94134a8b22d7a486b197a14c59ed9cd ayenderahien committed Feb 17, 2009
View
7 Rhino.ServiceBus/Actions/IDeploymentAction.cs
@@ -0,0 +1,7 @@
+namespace Rhino.ServiceBus.Actions
+{
+ public interface IDeploymentAction
+ {
+ void Execute();
+ }
+}
View
7 Rhino.ServiceBus/Actions/IValidationAction.cs
@@ -0,0 +1,7 @@
+namespace Rhino.ServiceBus.Actions
+{
+ public interface IValidationAction
+ {
+ void Execute();
+ }
+}
View
27 Rhino.ServiceBus/Exceptions/InvalidDeploymentException.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Runtime.Serialization;
+
+namespace Rhino.ServiceBus.Exceptions
+{
+ [Serializable]
+ public class InvalidDeploymentException : Exception
+ {
+ public InvalidDeploymentException()
+ {
+ }
+
+ public InvalidDeploymentException(string message) : base(message)
+ {
+ }
+
+ public InvalidDeploymentException(string message, Exception inner) : base(message, inner)
+ {
+ }
+
+ protected InvalidDeploymentException(
+ SerializationInfo info,
+ StreamingContext context) : base(info, context)
+ {
+ }
+ }
+}
View
1 Rhino.ServiceBus/Rhino.ServiceBus.csproj
@@ -164,6 +164,7 @@
<ItemGroup>
<Compile Include="Config\LoadBalancerConfiguration.cs" />
<Compile Include="DataStructures\Timeout.cs" />
+ <Compile Include="Exceptions\InvalidDeploymentException.cs" />
<Compile Include="Exceptions\LoadBalancerException.cs" />
<Compile Include="LoadBalancer\MsmqSecondaryLoadBalancer.cs" />
<Compile Include="Messages\Heartbeat.cs" />

0 comments on commit 893fca4

Please sign in to comment.
Something went wrong with that request. Please try again.