Java web service is passing me a custom exception: NoIncomeException, which is a soapfault. That is actually a soapexception. I've to create a custom exception that exposes that exception to all my .Net project.
Problem is that only way I can catch that exception is
if ex.message.contains("No Income Exception");
so I've to build my customeexception such that this condition is tested. I've no idea how to do that. Can somebody help please?