LibreOffice Module connectivity (master) 1
|
#include <SQLException.hxx>
Public Member Functions | |
virtual jclass | getMyClass () const override |
virtual | ~java_sql_SQLException_BASE () override |
java_sql_SQLException_BASE (JNIEnv *pEnv, jobject myObj) | |
OUString | getSQLState () const |
sal_Int32 | getErrorCode () const |
css::sdbc::SQLException | getNextException () const |
Public Member Functions inherited from connectivity::java_lang_Exception | |
virtual jclass | getMyClass () const override |
virtual | ~java_lang_Exception () override |
java_lang_Exception (JNIEnv *pEnv, jobject myObj) | |
Public Member Functions inherited from connectivity::java_lang_Throwable | |
virtual jclass | getMyClass () const override |
virtual | ~java_lang_Throwable () override |
java_lang_Throwable (JNIEnv *pEnv, jobject myObj) | |
OUString | getMessage () const |
OUString | getLocalizedMessage () const |
void | printStackTrace () const |
Public Member Functions inherited from connectivity::java_lang_Object | |
java_lang_Object (JNIEnv *pEnv, jobject myObj) | |
java_lang_Object () | |
virtual | ~java_lang_Object () COVERITY_NOEXCEPT_FALSE |
void | saveRef (JNIEnv *pEnv, jobject myObj) |
jobject | getJavaObject () const |
void | clearObject (JNIEnv &rEnv) |
void | clearObject () |
OUString | toString () const |
static ::rtl::Reference< jvmaccess::VirtualMachine > | getVM (const css::uno::Reference< css::uno::XComponentContext > &_rxContext=nullptr) |
void | obtainMethodId_throwSQL (JNIEnv *_pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const |
void | obtainMethodId_throwRuntime (JNIEnv *_pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const |
bool | callBooleanMethod (const char *_pMethodName, jmethodID &_inout_MethodID) const |
bool | callBooleanMethodWithIntArg (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
jobject | callResultSetMethod (JNIEnv &_rEnv, const char *_pMethodName, jmethodID &_inout_MethodID) const |
sal_Int32 | callIntMethod_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID) const |
sal_Int32 | callIntMethod_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID) const |
sal_Int32 | callIntMethodWithIntArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
sal_Int32 | callIntMethodWithIntArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
sal_Int32 | callIntMethodWithStringArg (const char *_pMethodName, jmethodID &_inout_MethodID, const OUString &_nArgument) const |
OUString | callStringMethod (const char *_pMethodName, jmethodID &_inout_MethodID) const |
OUString | callStringMethodWithIntArg (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
void | callVoidMethod_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID) const |
void | callVoidMethod_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID) const |
void | callVoidMethodWithIntArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
void | callVoidMethodWithIntArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
void | callVoidMethodWithBoolArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, bool _nArgument) const |
void | callVoidMethodWithBoolArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, bool _nArgument) const |
void | callVoidMethodWithStringArg (const char *_pMethodName, jmethodID &_inout_MethodID, const OUString &_nArgument) const |
jobject | callObjectMethod (JNIEnv *pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const |
jobject | callObjectMethodWithIntArg (JNIEnv *pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
template<typename T > | |
T | callMethodWithIntArg (T(JNIEnv::*pCallMethod)(jobject obj, jmethodID methodID,...), const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const |
template<typename T > | |
void | callVoidMethod_ThrowSQL (const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument, const T &_aValue) const |
Static Public Member Functions | |
static jclass | st_getMyClass () |
Static Public Member Functions inherited from connectivity::java_lang_Throwable | |
static jclass | st_getMyClass () |
Static Public Member Functions inherited from connectivity::java_lang_Object | |
static void | ThrowSQLException (JNIEnv *pEnv, const css::uno::Reference< css::uno::XInterface > &_rContext) |
static void | ThrowLoggedSQLException (const ::comphelper::EventLogger &_rLogger, JNIEnv *pEnvironment, const css::uno::Reference< css::uno::XInterface > &_rxContext) |
static void | ThrowRuntimeException (JNIEnv *pEnv, const css::uno::Reference< css::uno::XInterface > &_rContext) |
static jclass | findMyClass (const char *_pClassName) |
Static Protected Attributes | |
static jclass | theClass = nullptr |
Static Protected Attributes inherited from connectivity::java_lang_Exception | |
static jclass | theClass = nullptr |
Static Protected Attributes inherited from connectivity::java_lang_Throwable | |
static jclass | theClass = nullptr |
Static Protected Attributes inherited from connectivity::java_lang_Object | |
static jclass | theClass = nullptr |
Additional Inherited Members | |
virtual jclass | getMyClass () const |
Protected Attributes inherited from connectivity::java_lang_Object | |
jobject | object |
Definition at line 36 of file SQLException.hxx.
|
overridevirtual |
Definition at line 45 of file SQLException.cxx.
java_sql_SQLException_BASE::java_sql_SQLException_BASE | ( | JNIEnv * | pEnv, |
jobject | myObj | ||
) |
Definition at line 39 of file SQLException.cxx.
sal_Int32 java_sql_SQLException_BASE::getErrorCode | ( | ) | const |
Definition at line 81 of file SQLException.cxx.
References connectivity::java_lang_Object::callIntMethod_ThrowSQL().
Referenced by connectivity::java_sql_DatabaseMetaData::getTables().
|
overridevirtual |
Reimplemented from connectivity::java_lang_Exception.
Reimplemented in connectivity::java_sql_SQLWarning_BASE.
Definition at line 49 of file SQLException.cxx.
References st_getMyClass().
css::sdbc::SQLException java_sql_SQLException_BASE::getNextException | ( | ) | const |
Definition at line 61 of file SQLException.cxx.
References connectivity::java_lang_Object::callObjectMethod(), and t.
OUString java_sql_SQLException_BASE::getSQLState | ( | ) | const |
Definition at line 76 of file SQLException.cxx.
References connectivity::java_lang_Object::callStringMethod().
Referenced by connectivity::java_sql_DatabaseMetaData::getTables().
|
static |
Definition at line 53 of file SQLException.cxx.
References connectivity::java_lang_Object::findMyClass(), and theClass.
Referenced by getMyClass(), connectivity::java_sql_DatabaseMetaData::getTables(), and connectivity::java_sql_Connection::loadDriverFromProperties().
|
staticprotected |
Definition at line 40 of file SQLException.hxx.
Referenced by st_getMyClass().