Dynamic invoke can't catch an exception

EternityEternity Member JackOrganization: PersonalProject: Game

whenCompleted() never be called when server throw an exception, even I declare the exception in slice file

Answers

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    Hi,

    Can you provide a sample of your client code where you make the invocation and setup the completion callback? Without more information, I'm afraid it's hard to say what could be the problem. The completion callback should definitely be called if the invocation fails with an exception.

    Cheers,
    Benoit.

Sign In or Register to comment.