I'm having a problem with exceptions not being passed from the remote client to the local client.
The slice definition is:
The C# server sits behind a Glacier2 firewall, and throws an exception thus:exception ExceptionIceGeneral
{
string Description;
};
The C# client tries to intercept the exception:throw new ExceptionIceGeneral("New Exception");
However, the code above does not intercept this exception: instead, the following exception handler is invoked:catch (ExceptionIceGeneral e)
{
Console.Write("Exception is: {0}.\n", e.Description);
}
However, this handler does not contain the "Description", so there is no way to tell what caused the error (the client prints "Ice.UnknownUserException", there is no correct "Description" string anywhere in "ex").catch (System.Exception ex)
{
Console.Error.WriteLine(ex);
}

Reply With Quote