Kanzi 3.9.10
java_exception.hpp File Reference

Classes

class  kanzi::JavaException
 Exception class that can be used to wrap a Java generated exception. More...
 

Namespaces

namespace  kanzi
 

Macros

#define KZ_JAVA_EXCEPTION_BEGIN()
 
#define KZ_JAVA_EXCEPTION_END(env)
 
#define KZ_JAVA_EXCEPTION_END_WITH_RETURN(env, retval)
 

Functions

void kanzi::handleDefaultExceptions (JNIEnv *env)
 Handle the top level Java and native exceptions and rethrow via the JNI.
 
void kanzi::javaErrorCallback (void *ctx, kanzi::interop::ErrorCode code, const char *message)
 Callback function that is used to pass exceptions to Java.
 

Macro Definition Documentation

◆ KZ_JAVA_EXCEPTION_BEGIN

#define KZ_JAVA_EXCEPTION_BEGIN ( )

◆ KZ_JAVA_EXCEPTION_END

#define KZ_JAVA_EXCEPTION_END ( env)

◆ KZ_JAVA_EXCEPTION_END_WITH_RETURN

#define KZ_JAVA_EXCEPTION_END_WITH_RETURN ( env,
retval )