I have a problem when it comes to throwing custom exception in server-side 
sink. After some validation I want to throw ValidationException this comes to 
the client as RemotingException with no InnerException and only by the contents 
of StackTrace I'm able to determine which exception was thrown. This is very 
... stupid solution but what I'm doing now is I'm catching such exceptions in 
client-side sink and rethrow is as appropriate exception. However this becomes 
impossible when calling methods asynchronously. So I have a simple solution - 
can I rethrow custom exception instead of RemotingException in the server sink?


Best regards,
Maciej Paszta
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to