dtj_throw_resource_limit
extern void dtj_throw_resource_limit(JNIEnv *, const char *, ...);
dtj_throw_resource_limit(jenv, "Too many consumers");