-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
83 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
using System; | ||
|
||
namespace Akka.Interfaced | ||
{ | ||
/// <summary> | ||
/// This exception provides the base for all Akka.Interfaced specific exceptions within the system. | ||
/// </summary> | ||
public abstract class AkkaInterfacedException : Exception | ||
{ | ||
protected AkkaInterfacedException() | ||
{ | ||
} | ||
|
||
protected AkkaInterfacedException(string message, Exception innerException = null) | ||
: base(message, innerException) | ||
{ | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// This exception is thrown when the actor which have a request is not found. | ||
/// </summary> | ||
public class RequestTargetException : AkkaInterfacedException | ||
{ | ||
public RequestTargetException() | ||
{ | ||
} | ||
|
||
public RequestTargetException(string message, Exception innerException = null) | ||
: base(message, innerException) | ||
{ | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// This exception is thrown when there is an unhandled exception in processing a request. | ||
/// </summary> | ||
public class RequestFaultException : AkkaInterfacedException | ||
{ | ||
public RequestFaultException() | ||
{ | ||
} | ||
|
||
public RequestFaultException(string message, Exception innerException = null) | ||
: base(message, innerException) | ||
{ | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// This exception is thrown when the actor is stopped in processing a request. | ||
/// </summary> | ||
public class RequestHaltException : AkkaInterfacedException | ||
{ | ||
public RequestHaltException() | ||
{ | ||
} | ||
|
||
public RequestHaltException(string message, Exception innerException = null) | ||
: base(message, innerException) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters