Archived

This forum has been archived. Please start a new discussion on GitHub.

Konstantin

Hello everyone. I have two applications: one written on Java and another - on C++. Both use Ice for communicate with each other. Java code calls function that is executed by the C++ code. C++ code sometimes throws the exception derived from Ice::UserException~~~~. Java code catches this exception as a java.lang.Exception, but the error text of this exception is null. In my C++ exception class deriver from Ice::UserException I deifned methods __writeImpl and __readImpl for writing error text. But on the Java side I get null after calling the method e.getMessage() of the catched exception. Maybe anyone knows what's wrong with my approach?

About

Username
Konstantin
Joined
Visits
1
Last Active
Roles
Member
Project
crossplatform communications

Activity

  • Not much happening here, yet.