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?