![]() |
WPILibC++ 2025.3.2
|
Finds an exception class and keep it as a global reference. More...
#include <wpi/jni_util.h>
Public Member Functions | |
| JException ()=default | |
| JException (JNIEnv *env, const char *name) | |
| void | Throw (JNIEnv *env, jstring msg) |
| void | Throw (JNIEnv *env, std::string_view msg) |
| operator bool () const | |
Public Member Functions inherited from wpi::java::JClass | |
| JClass ()=default | |
| JClass (JNIEnv *env, const char *name) | |
| void | free (JNIEnv *env) |
| operator bool () const | |
| operator jclass () const | |
Additional Inherited Members | |
Protected Attributes inherited from wpi::java::JClass | |
| jclass | m_cls = nullptr |
Finds an exception class and keep it as a global reference.
Similar to JClass, but provides Throw methods. Use with caution, as the destructor does NOT call DeleteGlobalRef due to potential shutdown issues with doing so.
|
default |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |