Reputation: 41
I'm working on a Azure Service Fabric solution. I have implemented an Actor with some state, everything works fine. Can anyone explain me , what happens if an user exception is thrown in my Actor implementation? What does the Service Fabric Environment do if a call to an actor throws an exception. Is there any default retry logic, that Forces the call again?
Upvotes: 4
Views: 1041
Reputation: 3526
If an actor throws an exception, it gets handled inside ActorRemotingExceptionHandler or other default implementation of IExceptionHandler
. Currently, if the exception is an ordinary exception which is not related to network issues or cluster or nodes availability, it will be rethrown on the client side where you will be able to handle it.
Upvotes: 2