From c410c318f8ee2eb30567a52afbbdb113da078816 Mon Sep 17 00:00:00 2001 From: James Rosewell Date: Thu, 3 Dec 2026 14:14:40 +0000 Subject: [PATCH 1/5] FIX: Pin cxx with the JavaTypes.i leak fix and regenerate the wrappers --- cxx | 2 +- .../src/main/cxx/Java_Hash_Engine.cpp | 144 ++++------ .../flowelements/DataRefreshTests.java | 50 ++++ .../src/main/cxx/Java_Ipi_Engine.cpp | 252 ++++++------------ 4 files changed, 183 insertions(+), 265 deletions(-) diff --git a/cxx b/cxx index 4918ab925..7c72dbdfb 160000 --- a/cxx +++ b/cxx @@ -1 +1 @@ -Subproject commit 4918ab925ec88046c85d396664c56e416b67c2c7 +Subproject commit 7c72dbdfbb3e9784b037448aa40262f53e5ef444 diff --git a/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp b/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp index 5b30e4512..dda710c22 100644 --- a/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp +++ b/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp @@ -7363,6 +7363,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int std::string arg1 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; + std::vector< unsigned char > buffer2 ; ValueMetaDataKey *result = 0 ; (void)jenv; @@ -7380,30 +7381,17 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg2 = (unsigned char*)malloc(arrSize); - if (arg2 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return 0; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg2, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return 0; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg2, data, arrSize); - jenv->ReleaseByteArrayElements(jarg2, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer2.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg2, + 0, + (jsize)arrSize, + reinterpret_cast(buffer2.data())); + arg2 = buffer2.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -10383,6 +10371,7 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte EngineBase *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; + std::vector< unsigned char > buffer2 ; (void)jenv; (void)jcls; @@ -10393,30 +10382,17 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg2 = (unsigned char*)malloc(arrSize); - if (arg2 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return ; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg2, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return ; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg2, data, arrSize); - jenv->ReleaseByteArrayElements(jarg2, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer2.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg2, + 0, + (jsize)arrSize, + reinterpret_cast(buffer2.data())); + arg2 = buffer2.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -17224,6 +17200,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int long arg2 ; ConfigHash *arg3 = 0 ; RequiredPropertiesConfig *arg4 = 0 ; + std::vector< unsigned char > buffer1 ; EngineHash *result = 0 ; (void)jenv; @@ -17235,30 +17212,17 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int if (jarg1 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg1); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg1 = (unsigned char*)malloc(arrSize); - if (arg1 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return 0; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg1, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return 0; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg1, data, arrSize); - jenv->ReleaseByteArrayElements(jarg1, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer1.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg1, + 0, + (jsize)arrSize, + reinterpret_cast(buffer1.data())); + arg1 = buffer1.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -17854,6 +17818,7 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte EngineHash *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; + std::vector< unsigned char > buffer2 ; (void)jenv; (void)jcls; @@ -17864,30 +17829,17 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg2 = (unsigned char*)malloc(arrSize); - if (arg2 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return ; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg2, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return ; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg2, data, arrSize); - jenv->ReleaseByteArrayElements(jarg2, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer2.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg2, + 0, + (jsize)arrSize, + reinterpret_cast(buffer2.data())); + arg2 = buffer2.data(); } else { // Let the underlying C implementation throw the null pointer exception. diff --git a/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/flowelements/DataRefreshTests.java b/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/flowelements/DataRefreshTests.java index 9e61d79af..7122d72ec 100644 --- a/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/flowelements/DataRefreshTests.java +++ b/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/flowelements/DataRefreshTests.java @@ -32,6 +32,7 @@ import java.nio.charset.StandardCharsets; import java.nio.file.Files; +import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; @@ -48,6 +49,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import static org.junit.Assume.assumeTrue; /** * Refreshing the engine's data, with the free Lite data file. Refreshes @@ -61,6 +63,8 @@ public class DataRefreshTests extends TestsBase { private static final int REFRESHES = 5; + private static final int LEAK_REFRESHES = 10; + private static final long WAIT_SECONDS = 300; private static final List USER_AGENTS = Arrays.asList( @@ -147,6 +151,52 @@ public void Refresh_FromMemoryOnSeveralThreads_EngineStillWorks() assertEquals(expected, isMobile()); } + /** + * Refreshing the engine from memory many times leaves the memory the + * process uses about where it was, so no refresh keeps a copy of the + * data it was given. Where each refresh kept one, the process would + * grow by the size of the data file every time. The resident size is + * read from /proc, so the test runs only where there is one. + */ + @Test + public void Refresh_FromMemoryManyTimes_KeepsNoCopyOfTheData() + throws Exception { + Path status = Paths.get("/proc/self/status"); + assumeTrue("The resident size is read from /proc.", + Files.isReadable(status)); + DeviceDetectionHashEngine engine = getWrapper().getEngine(); + String identifier = engine.getDataFileMetaData().getIdentifier(); + byte[] data = Files.readAllBytes(Paths.get( + engine.getDataFileMetaData().getDataFilePath())); + // The first refreshes from memory settle what the engine keeps. + for (int i = 0; i < 2; i++) { + engine.refreshData(identifier, data); + } + long before = residentBytes(status); + for (int i = 0; i < LEAK_REFRESHES; i++) { + engine.refreshData(identifier, data); + } + long growth = residentBytes(status) - before; + assertTrue(String.format( + "The process grew by %d bytes over %d refreshes from %d bytes " + + "of data, %d bytes a refresh.", + growth, LEAK_REFRESHES, data.length, growth / LEAK_REFRESHES), + growth < 2L * data.length); + } + + /** + * The resident size of this process from its status file. + */ + private static long residentBytes(Path status) throws Exception { + for (String line : Files.readAllLines(status)) { + if (line.startsWith("VmRSS:")) { + return Long.parseLong( + line.replaceAll("[^0-9]", "")) * 1024; + } + } + throw new IllegalStateException("No VmRSS in " + status); + } + /** * A refresh from data that is not a data file fails with an error, and * the engine goes on using the data it had. diff --git a/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp b/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp index 884f24c53..9e26b3ae6 100644 --- a/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp +++ b/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp @@ -7751,6 +7751,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s std::string arg1 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; + std::vector< unsigned char > buffer2 ; ValueMetaDataKey *result = 0 ; (void)jenv; @@ -7768,30 +7769,17 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg2 = (unsigned char*)malloc(arrSize); - if (arg2 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return 0; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg2, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return 0; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg2, data, arrSize); - jenv->ReleaseByteArrayElements(jarg2, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer2.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg2, + 0, + (jsize)arrSize, + reinterpret_cast(buffer2.data())); + arg2 = buffer2.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -10771,6 +10759,7 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw EngineBase *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; + std::vector< unsigned char > buffer2 ; (void)jenv; (void)jcls; @@ -10781,30 +10770,17 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg2 = (unsigned char*)malloc(arrSize); - if (arg2 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return ; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg2, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return ; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg2, data, arrSize); - jenv->ReleaseByteArrayElements(jarg2, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer2.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg2, + 0, + (jsize)arrSize, + reinterpret_cast(buffer2.data())); + arg2 = buffer2.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -13583,6 +13559,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s jlong jresult = 0 ; unsigned char *arg1 = (unsigned char *)0 ; fiftyoneDegreesIpType arg2 ; + std::vector< unsigned char > buffer1 ; IpAddress *result = 0 ; (void)jenv; @@ -13592,30 +13569,17 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s if (jarg1 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg1); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg1 = (unsigned char*)malloc(arrSize); - if (arg1 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return 0; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg1, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return 0; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg1, data, arrSize); - jenv->ReleaseByteArrayElements(jarg1, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer1.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg1, + 0, + (jsize)arrSize, + reinterpret_cast(buffer1.data())); + arg1 = buffer1.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -13752,6 +13716,7 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw IpAddress *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; uint32_t arg3 ; + std::vector< unsigned char > buffer2 ; (void)jenv; (void)jcls; @@ -13762,30 +13727,17 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg2 = (unsigned char*)malloc(arrSize); - if (arg2 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return ; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg2, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return ; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg2, data, arrSize); - jenv->ReleaseByteArrayElements(jarg2, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer2.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg2, + 0, + (jsize)arrSize, + reinterpret_cast(buffer2.data())); + arg2 = buffer2.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -25319,6 +25271,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s long arg2 ; ConfigIpi *arg3 = 0 ; RequiredPropertiesConfig *arg4 = 0 ; + std::vector< unsigned char > buffer1 ; EngineIpi *result = 0 ; (void)jenv; @@ -25330,30 +25283,17 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s if (jarg1 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg1); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg1 = (unsigned char*)malloc(arrSize); - if (arg1 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return 0; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg1, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return 0; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg1, data, arrSize); - jenv->ReleaseByteArrayElements(jarg1, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer1.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg1, + 0, + (jsize)arrSize, + reinterpret_cast(buffer1.data())); + arg1 = buffer1.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -25949,6 +25889,7 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw EngineIpi *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; + std::vector< unsigned char > buffer2 ; (void)jenv; (void)jcls; @@ -25959,30 +25900,17 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg2 = (unsigned char*)malloc(arrSize); - if (arg2 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return ; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg2, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return ; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg2, data, arrSize); - jenv->ReleaseByteArrayElements(jarg2, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer2.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg2, + 0, + (jsize)arrSize, + reinterpret_cast(buffer2.data())); + arg2 = buffer2.data(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -26189,6 +26117,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; fiftyoneDegreesIpType arg4 ; + std::vector< unsigned char > buffer2 ; ResultsIpi *result = 0 ; (void)jenv; @@ -26200,30 +26129,17 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Allocate memory for the destination byte array used internally by - // the data set. This memory is required for the lifetime of the data - // set. - arg2 = (unsigned char*)malloc(arrSize); - if (arg2 == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to allocate memory to copy the input byte array."); - return 0; - } - // Attempt to get a pointer to the data within the jbyteArray. - jbyte* data = jenv->GetByteArrayElements(jarg2, NULL); - if (data == NULL) { - SWIG_JavaThrowException( - jenv, - SWIG_JavaRuntimeException, - "Failed to obtain pointer to the input byte array."); - return 0; - } - // Copy the input byte array to the destination and release the - // reference to source pointer. - memcpy(arg2, data, arrSize); - jenv->ReleaseByteArrayElements(jarg2, data, JNI_ABORT); + // Copy the byte array into a vector that is freed when the call + // returns, by any way it returns. The C++ code copies anything it + // keeps. The vector has a byte more than the array, so an empty + // array is never passed as null. + buffer2.resize((size_t)arrSize + 1); + jenv->GetByteArrayRegion( + jarg2, + 0, + (jsize)arrSize, + reinterpret_cast(buffer2.data())); + arg2 = buffer2.data(); } else { // Let the underlying C implementation throw the null pointer exception. From 51183feb6b95fe9cd18c0b4239c4f07e049506d8 Mon Sep 17 00:00:00 2001 From: James Rosewell Date: Thu, 3 Dec 2026 14:34:57 +0000 Subject: [PATCH 2/5] FIX: Pin cxx with the out of memory check and regenerate the wrappers --- cxx | 2 +- .../src/main/cxx/Java_Hash_Engine.cpp | 100 +++++++---- .../src/main/cxx/Java_Ipi_Engine.cpp | 169 ++++++++++++------ 3 files changed, 182 insertions(+), 89 deletions(-) diff --git a/cxx b/cxx index 7c72dbdfb..dbe570eda 160000 --- a/cxx +++ b/cxx @@ -1 +1 @@ -Subproject commit 7c72dbdfbb3e9784b037448aa40262f53e5ef444 +Subproject commit dbe570eda83d4a0e37c6cb8fd1e58e5b4de427a7 diff --git a/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp b/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp index dda710c22..7a448515f 100644 --- a/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp +++ b/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp @@ -310,6 +310,10 @@ template T SwigValueInit() { #include +#include +#include + + #include "cxx/src/dd/hash/EngineHash.hpp" #include "cxx/src/dd/hash/ResultsHashSerializer.hpp" #include "cxx/src/dd/Transform.hpp" @@ -560,6 +564,10 @@ SWIGINTERN void std_vector_Sl_uint8_t_Sg__doRemoveRange(std::vector< uint8_t > * throw std::out_of_range("vector index out of range"); } } + +#include +#include + SWIGINTERN std::vector< uint32_t > *new_std_vector_Sl_uint32_t_Sg___SWIG_2(jint count,unsigned int const &value){ if (count < 0) throw std::out_of_range("vector count must be positive"); @@ -7363,7 +7371,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int std::string arg1 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; - std::vector< unsigned char > buffer2 ; + std::unique_ptr< unsigned char [] > buffer2 ; ValueMetaDataKey *result = 0 ; (void)jenv; @@ -7377,21 +7385,28 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int (&arg1)->assign(arg1_pstr); jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer2.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer2.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer2) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return 0; + } jenv->GetByteArrayRegion( jarg2, 0, (jsize)arrSize, - reinterpret_cast(buffer2.data())); - arg2 = buffer2.data(); + reinterpret_cast(buffer2.get())); + arg2 = buffer2.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -10371,28 +10386,35 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte EngineBase *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; - std::vector< unsigned char > buffer2 ; + std::unique_ptr< unsigned char [] > buffer2 ; (void)jenv; (void)jcls; (void)jarg1_; arg1 = fiftyoneFromJlong< EngineBase * >(jarg1); { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer2.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer2.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer2) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return ; + } jenv->GetByteArrayRegion( jarg2, 0, (jsize)arrSize, - reinterpret_cast(buffer2.data())); - arg2 = buffer2.data(); + reinterpret_cast(buffer2.get())); + arg2 = buffer2.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -17200,7 +17222,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int long arg2 ; ConfigHash *arg3 = 0 ; RequiredPropertiesConfig *arg4 = 0 ; - std::vector< unsigned char > buffer1 ; + std::unique_ptr< unsigned char [] > buffer1 ; EngineHash *result = 0 ; (void)jenv; @@ -17208,21 +17230,28 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int (void)jarg3_; (void)jarg4_; { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg1 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg1); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer1.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer1.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer1) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return 0; + } jenv->GetByteArrayRegion( jarg1, 0, (jsize)arrSize, - reinterpret_cast(buffer1.data())); - arg1 = buffer1.data(); + reinterpret_cast(buffer1.get())); + arg1 = buffer1.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -17818,28 +17847,35 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte EngineHash *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; - std::vector< unsigned char > buffer2 ; + std::unique_ptr< unsigned char [] > buffer2 ; (void)jenv; (void)jcls; (void)jarg1_; arg1 = fiftyoneFromJlong< EngineHash * >(jarg1); { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer2.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer2.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer2) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return ; + } jenv->GetByteArrayRegion( jarg2, 0, (jsize)arrSize, - reinterpret_cast(buffer2.data())); - arg2 = buffer2.data(); + reinterpret_cast(buffer2.get())); + arg2 = buffer2.get(); } else { // Let the underlying C implementation throw the null pointer exception. diff --git a/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp b/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp index 9e26b3ae6..559c5af52 100644 --- a/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp +++ b/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp @@ -310,6 +310,10 @@ template T SwigValueInit() { #include +#include +#include + + #include "cxx/src/ipi/EngineIpi.hpp" using namespace FiftyoneDegrees::Common; @@ -452,6 +456,10 @@ SWIGINTERN void std_vector_Sl_std_string_Sg__doRemoveRange(std::vector< std::str } } +#include +#include + + SWIGINTERN void SWIG_JavaException(JNIEnv *jenv, int code, const char *msg) { SWIG_JavaExceptionCodes exception_code = SWIG_JavaUnknownError; switch(code) { @@ -7751,7 +7759,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s std::string arg1 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; - std::vector< unsigned char > buffer2 ; + std::unique_ptr< unsigned char [] > buffer2 ; ValueMetaDataKey *result = 0 ; (void)jenv; @@ -7765,21 +7773,28 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s (&arg1)->assign(arg1_pstr); jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer2.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer2.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer2) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return 0; + } jenv->GetByteArrayRegion( jarg2, 0, (jsize)arrSize, - reinterpret_cast(buffer2.data())); - arg2 = buffer2.data(); + reinterpret_cast(buffer2.get())); + arg2 = buffer2.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -10759,28 +10774,35 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw EngineBase *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; - std::vector< unsigned char > buffer2 ; + std::unique_ptr< unsigned char [] > buffer2 ; (void)jenv; (void)jcls; (void)jarg1_; arg1 = fiftyoneFromJlong< EngineBase * >(jarg1); { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer2.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer2.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer2) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return ; + } jenv->GetByteArrayRegion( jarg2, 0, (jsize)arrSize, - reinterpret_cast(buffer2.data())); - arg2 = buffer2.data(); + reinterpret_cast(buffer2.get())); + arg2 = buffer2.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -13559,27 +13581,34 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s jlong jresult = 0 ; unsigned char *arg1 = (unsigned char *)0 ; fiftyoneDegreesIpType arg2 ; - std::vector< unsigned char > buffer1 ; + std::unique_ptr< unsigned char [] > buffer1 ; IpAddress *result = 0 ; (void)jenv; (void)jcls; { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg1 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg1); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer1.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer1.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer1) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return 0; + } jenv->GetByteArrayRegion( jarg1, 0, (jsize)arrSize, - reinterpret_cast(buffer1.data())); - arg1 = buffer1.data(); + reinterpret_cast(buffer1.get())); + arg1 = buffer1.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -13716,28 +13745,35 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw IpAddress *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; uint32_t arg3 ; - std::vector< unsigned char > buffer2 ; + std::unique_ptr< unsigned char [] > buffer2 ; (void)jenv; (void)jcls; (void)jarg1_; arg1 = fiftyoneFromJlong< IpAddress * >(jarg1); { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer2.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer2.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer2) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return ; + } jenv->GetByteArrayRegion( jarg2, 0, (jsize)arrSize, - reinterpret_cast(buffer2.data())); - arg2 = buffer2.data(); + reinterpret_cast(buffer2.get())); + arg2 = buffer2.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -25271,7 +25307,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s long arg2 ; ConfigIpi *arg3 = 0 ; RequiredPropertiesConfig *arg4 = 0 ; - std::vector< unsigned char > buffer1 ; + std::unique_ptr< unsigned char [] > buffer1 ; EngineIpi *result = 0 ; (void)jenv; @@ -25279,21 +25315,28 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s (void)jarg3_; (void)jarg4_; { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg1 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg1); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer1.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer1.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer1) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return 0; + } jenv->GetByteArrayRegion( jarg1, 0, (jsize)arrSize, - reinterpret_cast(buffer1.data())); - arg1 = buffer1.data(); + reinterpret_cast(buffer1.get())); + arg1 = buffer1.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -25889,28 +25932,35 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw EngineIpi *arg1 = 0 ; unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; - std::vector< unsigned char > buffer2 ; + std::unique_ptr< unsigned char [] > buffer2 ; (void)jenv; (void)jcls; (void)jarg1_; arg1 = fiftyoneFromJlong< EngineIpi * >(jarg1); { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer2.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer2.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer2) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return ; + } jenv->GetByteArrayRegion( jarg2, 0, (jsize)arrSize, - reinterpret_cast(buffer2.data())); - arg2 = buffer2.data(); + reinterpret_cast(buffer2.get())); + arg2 = buffer2.get(); } else { // Let the underlying C implementation throw the null pointer exception. @@ -26117,7 +26167,7 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s unsigned char *arg2 = (unsigned char *)0 ; long arg3 ; fiftyoneDegreesIpType arg4 ; - std::vector< unsigned char > buffer2 ; + std::unique_ptr< unsigned char [] > buffer2 ; ResultsIpi *result = 0 ; (void)jenv; @@ -26125,21 +26175,28 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s (void)jarg1_; arg1 = fiftyoneFromJlong< EngineIpi * >(jarg1); { - /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,28,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; + /*@SWIG:../../../../../cxx/src/common/JavaTypes.i,33,JAVA_UBYTE_ARR_TYPEMAP_BODY@*/ long arrSize = 0; if (jarg2 != NULL) { // Get the number of bytes in the byte array. arrSize = jenv->GetArrayLength(jarg2); - // Copy the byte array into a vector that is freed when the call + // Copy the byte array into memory that is freed when the call // returns, by any way it returns. The C++ code copies anything it - // keeps. The vector has a byte more than the array, so an empty - // array is never passed as null. - buffer2.resize((size_t)arrSize + 1); + // keeps. The copy has a byte more than the array, so an empty array + // is never passed as null. + buffer2.reset(new (std::nothrow) unsigned char[(size_t)arrSize + 1]); + if (!buffer2) { + SWIG_JavaThrowException( + jenv, + SWIG_JavaOutOfMemoryError, + "Failed to allocate memory to copy the input byte array."); + return 0; + } jenv->GetByteArrayRegion( jarg2, 0, (jsize)arrSize, - reinterpret_cast(buffer2.data())); - arg2 = buffer2.data(); + reinterpret_cast(buffer2.get())); + arg2 = buffer2.get(); } else { // Let the underlying C implementation throw the null pointer exception. From a53e4434578f6f0cf17e0e8f1e8a0f2ee6d58d07 Mon Sep 17 00:00:00 2001 From: James Rosewell Date: Thu, 3 Dec 2026 16:35:50 +0000 Subject: [PATCH 3/5] FIX: Throw for a null file name or IP address --- .../src/main/cxx/hash_java.i | 9 +++ .../onpremise/interop/NullStringTests.java | 61 ++++++++++++++++ .../src/main/cxx/hash_java.i | 18 +++++ .../onpremise/interop/NullStringTests.java | 73 +++++++++++++++++++ 4 files changed, 161 insertions(+) create mode 100644 device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/interop/NullStringTests.java create mode 100644 ip-intelligence/ip-intelligence.engine.on-premise/src/test/java/fiftyone/ipintelligence/engine/onpremise/interop/NullStringTests.java diff --git a/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/hash_java.i b/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/hash_java.i index 649ac3006..55daecbd8 100644 --- a/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/hash_java.i +++ b/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/hash_java.i @@ -211,6 +211,15 @@ nofinalize(EvidenceDeviceDetection); nofinalize(ResultsDeviceDetection); nofinalize(ResultsHash); +/* A null file name would reach the native code as a null C string, which it + reads without a check. It throws a NullPointerException instead. */ +%typemap(check) const char *fileName %{ + if (!$1) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "The file name is null"); + return $null; + } +%} + %include "cxx/src/dd/hash/hash.i" /* Avoid copying the key and value character by character and pass a pointer instead. diff --git a/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/interop/NullStringTests.java b/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/interop/NullStringTests.java new file mode 100644 index 000000000..f5c3c7217 --- /dev/null +++ b/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/interop/NullStringTests.java @@ -0,0 +1,61 @@ +/* ********************************************************************* + * This Original Work is copyright of 51 Degrees Mobile Experts Limited. + * Copyright 2026 51 Degrees Mobile Experts Limited, Davidson House, + * Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU. + * + * This Original Work is licensed under the European Union Public Licence + * (EUPL) v.1.2 and is subject to its terms as set out below. + * + * If a copy of the EUPL was not distributed with this file, You can obtain + * one at https://opensource.org/licenses/EUPL-1.2. + * + * The 'Compatible Licences' set out in the Appendix to the EUPL (as may be + * amended by the European Commission) shall be deemed incompatible for + * the purposes of the Work and the provisions of the compatibility + * clause in Article 5 of the EUPL shall not apply. + * + * If using the Work as, or as part of, a network application, by + * including the attribution notice(s) required under Article 5 of the EUPL + * in the end user terms of the application under an appropriate heading, + * such notice(s) shall fulfill the requirements of that article. + * ********************************************************************* */ + +package fiftyone.devicedetection.hash.engine.onpremise.interop; + +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.ConfigHashSwig; +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.EngineHashSwig; +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.RequiredPropertiesConfigSwig; +import fiftyone.devicedetection.shared.testhelpers.TestFileUtils; +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertThrows; + +/** + * A null given for a string the native code reads as a C string throws, + * instead of reaching the native code as a null pointer. + */ +public class NullStringTests { + + @Test + public void RefreshData_NullFileName_Throws() { + File file = TestFileUtils.getHashFile(); + assertNotNull("The test needs the free Lite data file, which the " + + "build fetches into cxx/data.", file); + ConfigHashSwig config = new ConfigHashSwig(); + RequiredPropertiesConfigSwig required = + new RequiredPropertiesConfigSwig(); + EngineHashSwig engine = + new EngineHashSwig(file.getAbsolutePath(), config, required); + try { + assertThrows(NullPointerException.class, + () -> engine.refreshData((String) null)); + } finally { + engine.delete(); + required.delete(); + config.delete(); + } + } +} diff --git a/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/hash_java.i b/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/hash_java.i index e0f8d378c..043417388 100644 --- a/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/hash_java.i +++ b/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/hash_java.i @@ -238,6 +238,24 @@ nofinalize(EvidenceIpi); nofinalize(ResultsIpi); +/* A null file name would reach the native code as a null C string, which it + reads without a check. It throws a NullPointerException instead. */ +%typemap(check) const char *fileName %{ + if (!$1) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "The file name is null"); + return $null; + } +%} + +/* A null IP address would reach the native code as a null C string, which + it reads without a check. It throws a NullPointerException instead. */ +%typemap(check) const char *ipAddressString %{ + if (!$1) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "The IP address is null"); + return $null; + } +%} + %include "cxx/src/ipi/ipi.i" /* Avoid copying the key and value character by character and pass a pointer instead. */ diff --git a/ip-intelligence/ip-intelligence.engine.on-premise/src/test/java/fiftyone/ipintelligence/engine/onpremise/interop/NullStringTests.java b/ip-intelligence/ip-intelligence.engine.on-premise/src/test/java/fiftyone/ipintelligence/engine/onpremise/interop/NullStringTests.java new file mode 100644 index 000000000..39e71c469 --- /dev/null +++ b/ip-intelligence/ip-intelligence.engine.on-premise/src/test/java/fiftyone/ipintelligence/engine/onpremise/interop/NullStringTests.java @@ -0,0 +1,73 @@ +/* ********************************************************************* + * This Original Work is copyright of 51 Degrees Mobile Experts Limited. + * Copyright 2026 51 Degrees Mobile Experts Limited, Davidson House, + * Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU. + * + * This Original Work is licensed under the European Union Public Licence + * (EUPL) v.1.2 and is subject to its terms as set out below. + * + * If a copy of the EUPL was not distributed with this file, You can obtain + * one at https://opensource.org/licenses/EUPL-1.2. + * + * The 'Compatible Licences' set out in the Appendix to the EUPL (as may be + * amended by the European Commission) shall be deemed incompatible for + * the purposes of the Work and the provisions of the compatibility + * clause in Article 5 of the EUPL shall not apply. + * + * If using the Work as, or as part of, a network application, by + * including the attribution notice(s) required under Article 5 of the EUPL + * in the end user terms of the application under an appropriate heading, + * such notice(s) shall fulfill the requirements of that article. + * ********************************************************************* */ + +package fiftyone.ipintelligence.engine.onpremise.interop; + +import fiftyone.ipintelligence.engine.onpremise.interop.swig.ConfigIpiSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.EngineIpiSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.IpAddressSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.RequiredPropertiesConfigSwig; +import org.junit.Test; + +import java.io.File; + +import static fiftyone.ipintelligence.shared.testhelpers.FileUtils.LITE_IPI_DATA_FILE_NAME; +import static fiftyone.pipeline.util.FileFinder.getFilePath; +import static org.junit.Assert.assertThrows; + +/** + * A null given for a string the native code reads as a C string throws, + * instead of reaching the native code as a null pointer. + */ +public class NullStringTests { + + @Test + public void IpAddress_NullString_Throws() { + assertThrows(NullPointerException.class, + () -> new IpAddressSwig((String) null)); + } + + @Test + public void RefreshData_NullFileName_Throws() { + File file; + try { + file = getFilePath(LITE_IPI_DATA_FILE_NAME); + } catch (IllegalArgumentException e) { + throw new AssertionError("The test needs the free Lite data " + + "file, which the build fetches into cxx/data.", e); + } + ConfigIpiSwig config = new ConfigIpiSwig(); + config.setLowMemory(); + RequiredPropertiesConfigSwig required = + new RequiredPropertiesConfigSwig(); + EngineIpiSwig engine = + new EngineIpiSwig(file.getAbsolutePath(), config, required); + try { + assertThrows(NullPointerException.class, + () -> engine.refreshData((String) null)); + } finally { + engine.delete(); + required.delete(); + config.delete(); + } + } +} From 209c769fbac94fce60afe550869bba3a5c9c8347 Mon Sep 17 00:00:00 2001 From: James Rosewell Date: Thu, 3 Dec 2026 16:35:50 +0000 Subject: [PATCH 4/5] TEST: Read a component's properties past the end --- .../interop/CollectionIndexTests.java | 77 +++++++++++++++++ .../interop/CollectionIndexTests.java | 82 +++++++++++++++++++ 2 files changed, 159 insertions(+) create mode 100644 device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/interop/CollectionIndexTests.java create mode 100644 ip-intelligence/ip-intelligence.engine.on-premise/src/test/java/fiftyone/ipintelligence/engine/onpremise/interop/CollectionIndexTests.java diff --git a/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/interop/CollectionIndexTests.java b/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/interop/CollectionIndexTests.java new file mode 100644 index 000000000..2758fbc50 --- /dev/null +++ b/device-detection/device-detection.hash.engine.on-premise/src/test/java/fiftyone/devicedetection/hash/engine/onpremise/interop/CollectionIndexTests.java @@ -0,0 +1,77 @@ +/* ********************************************************************* + * This Original Work is copyright of 51 Degrees Mobile Experts Limited. + * Copyright 2026 51 Degrees Mobile Experts Limited, Davidson House, + * Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU. + * + * This Original Work is licensed under the European Union Public Licence + * (EUPL) v.1.2 and is subject to its terms as set out below. + * + * If a copy of the EUPL was not distributed with this file, You can obtain + * one at https://opensource.org/licenses/EUPL-1.2. + * + * The 'Compatible Licences' set out in the Appendix to the EUPL (as may be + * amended by the European Commission) shall be deemed incompatible for + * the purposes of the Work and the provisions of the compatibility + * clause in Article 5 of the EUPL shall not apply. + * + * If using the Work as, or as part of, a network application, by + * including the attribution notice(s) required under Article 5 of the EUPL + * in the end user terms of the application under an appropriate heading, + * such notice(s) shall fulfill the requirements of that article. + * ********************************************************************* */ + +package fiftyone.devicedetection.hash.engine.onpremise.interop; + +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.ComponentMetaDataCollectionSwig; +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.ComponentMetaDataSwig; +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.ConfigHashSwig; +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.EngineHashSwig; +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.MetaDataSwig; +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.PropertyMetaDataCollectionSwig; +import fiftyone.devicedetection.hash.engine.onpremise.interop.swig.RequiredPropertiesConfigSwig; +import fiftyone.devicedetection.shared.testhelpers.TestFileUtils; +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertThrows; +import static org.junit.Assert.assertTrue; + +/** + * Reading a native collection past its end throws a Java exception, as the + * C++ exception that the read throws is turned into one. + */ +public class CollectionIndexTests { + + @Test + public void PropertiesForComponent_IndexPastTheEnd_Throws() { + File file = TestFileUtils.getHashFile(); + assertNotNull("The test needs the free Lite data file, which the " + + "build fetches into cxx/data.", file); + ConfigHashSwig config = new ConfigHashSwig(); + RequiredPropertiesConfigSwig required = + new RequiredPropertiesConfigSwig(); + EngineHashSwig engine = + new EngineHashSwig(file.getAbsolutePath(), config, required); + try { + MetaDataSwig metaData = engine.getMetaData(); + ComponentMetaDataCollectionSwig components = + metaData.getComponents(); + ComponentMetaDataSwig component = components.getByIndex(0); + PropertyMetaDataCollectionSwig properties = + metaData.getPropertiesForComponent(component); + long size = properties.getSize(); + assertTrue(size > 0); + assertThrows(RuntimeException.class, + () -> properties.getByIndex(size)); + properties.delete(); + component.delete(); + components.delete(); + } finally { + engine.delete(); + required.delete(); + config.delete(); + } + } +} diff --git a/ip-intelligence/ip-intelligence.engine.on-premise/src/test/java/fiftyone/ipintelligence/engine/onpremise/interop/CollectionIndexTests.java b/ip-intelligence/ip-intelligence.engine.on-premise/src/test/java/fiftyone/ipintelligence/engine/onpremise/interop/CollectionIndexTests.java new file mode 100644 index 000000000..402258e1b --- /dev/null +++ b/ip-intelligence/ip-intelligence.engine.on-premise/src/test/java/fiftyone/ipintelligence/engine/onpremise/interop/CollectionIndexTests.java @@ -0,0 +1,82 @@ +/* ********************************************************************* + * This Original Work is copyright of 51 Degrees Mobile Experts Limited. + * Copyright 2026 51 Degrees Mobile Experts Limited, Davidson House, + * Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU. + * + * This Original Work is licensed under the European Union Public Licence + * (EUPL) v.1.2 and is subject to its terms as set out below. + * + * If a copy of the EUPL was not distributed with this file, You can obtain + * one at https://opensource.org/licenses/EUPL-1.2. + * + * The 'Compatible Licences' set out in the Appendix to the EUPL (as may be + * amended by the European Commission) shall be deemed incompatible for + * the purposes of the Work and the provisions of the compatibility + * clause in Article 5 of the EUPL shall not apply. + * + * If using the Work as, or as part of, a network application, by + * including the attribution notice(s) required under Article 5 of the EUPL + * in the end user terms of the application under an appropriate heading, + * such notice(s) shall fulfill the requirements of that article. + * ********************************************************************* */ + +package fiftyone.ipintelligence.engine.onpremise.interop; + +import fiftyone.ipintelligence.engine.onpremise.interop.swig.ComponentMetaDataCollectionSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.ComponentMetaDataSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.ConfigIpiSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.EngineIpiSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.MetaDataSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.PropertyMetaDataCollectionSwig; +import fiftyone.ipintelligence.engine.onpremise.interop.swig.RequiredPropertiesConfigSwig; +import org.junit.Test; + +import java.io.File; + +import static fiftyone.ipintelligence.shared.testhelpers.FileUtils.LITE_IPI_DATA_FILE_NAME; +import static fiftyone.pipeline.util.FileFinder.getFilePath; +import static org.junit.Assert.assertThrows; +import static org.junit.Assert.assertTrue; + +/** + * Reading a native collection past its end throws a Java exception, as the + * C++ exception that the read throws is turned into one. + */ +public class CollectionIndexTests { + + @Test + public void PropertiesForComponent_IndexPastTheEnd_Throws() { + File file; + try { + file = getFilePath(LITE_IPI_DATA_FILE_NAME); + } catch (IllegalArgumentException e) { + throw new AssertionError("The test needs the free Lite data " + + "file, which the build fetches into cxx/data.", e); + } + ConfigIpiSwig config = new ConfigIpiSwig(); + config.setLowMemory(); + RequiredPropertiesConfigSwig required = + new RequiredPropertiesConfigSwig(); + EngineIpiSwig engine = + new EngineIpiSwig(file.getAbsolutePath(), config, required); + try { + MetaDataSwig metaData = engine.getMetaData(); + ComponentMetaDataCollectionSwig components = + metaData.getComponents(); + ComponentMetaDataSwig component = components.getByIndex(0); + PropertyMetaDataCollectionSwig properties = + metaData.getPropertiesForComponent(component); + long size = properties.getSize(); + assertTrue(size > 0); + assertThrows(RuntimeException.class, + () -> properties.getByIndex(size)); + properties.delete(); + component.delete(); + components.delete(); + } finally { + engine.delete(); + required.delete(); + config.delete(); + } + } +} From c5a155ae09b06be8777718c199aee4b16dea7327 Mon Sep 17 00:00:00 2001 From: James Rosewell Date: Thu, 3 Dec 2026 16:36:13 +0000 Subject: [PATCH 5/5] FIX: Pin cxx with the standard exception catch and regenerate the wrappers --- cxx | 2 +- .../src/main/cxx/Java_Hash_Engine.cpp | 1412 ++++++++++++ .../src/main/cxx/Java_Ipi_Engine.cpp | 1950 ++++++++++++++++- 3 files changed, 3357 insertions(+), 7 deletions(-) diff --git a/cxx b/cxx index dbe570eda..58feca699 160000 --- a/cxx +++ b/cxx @@ -1 +1 @@ -Subproject commit dbe570eda83d4a0e37c6cb8fd1e58e5b4de427a7 +Subproject commit 58feca699c6bfd8663671b1dcc9ac54b22826699 diff --git a/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp b/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp index 7a448515f..1f8c38b14 100644 --- a/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp +++ b/device-detection/device-detection.hash.engine.on-premise/src/main/cxx/Java_Hash_Engine.cpp @@ -844,6 +844,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -1080,6 +1085,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -1431,6 +1441,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -1490,6 +1505,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -1554,6 +1574,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -1621,6 +1646,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1); @@ -1683,6 +1713,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -1745,6 +1780,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -1806,6 +1846,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -1870,6 +1915,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -1934,6 +1984,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -1998,6 +2053,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -2059,6 +2119,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -2118,6 +2183,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -2182,6 +2252,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -2246,6 +2321,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -2310,6 +2390,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -2371,6 +2456,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -2430,6 +2520,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -2494,6 +2589,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -2558,6 +2658,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -2622,6 +2727,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -2683,6 +2793,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -2742,6 +2857,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -2806,6 +2926,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -2870,6 +2995,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -2934,6 +3064,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -2995,6 +3130,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -3054,6 +3194,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -3118,6 +3263,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -3182,6 +3332,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -3246,6 +3401,11 @@ SWIGEXPORT jdouble JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jdouble)result; return jresult; @@ -3307,6 +3467,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -3366,6 +3531,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -3428,6 +3598,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -3502,6 +3677,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -3566,6 +3746,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -3632,6 +3817,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -3706,6 +3896,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< std::string > > * >(new Value< std::vector< std::string > >(result)); return jresult; @@ -3772,6 +3967,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< std::string > > * >(new Value< std::vector< std::string > >(result)); return jresult; @@ -3846,6 +4046,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::string > * >(new Value< std::string >(result)); return jresult; @@ -3912,6 +4117,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::string > * >(new Value< std::string >(result)); return jresult; @@ -3986,6 +4196,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); return jresult; @@ -4052,6 +4267,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); return jresult; @@ -4126,6 +4346,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); return jresult; @@ -4192,6 +4417,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); return jresult; @@ -4266,6 +4496,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); return jresult; @@ -4332,6 +4567,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); return jresult; @@ -4406,6 +4646,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); return jresult; @@ -4472,6 +4717,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); return jresult; @@ -4546,6 +4796,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); return jresult; @@ -4612,6 +4867,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); return jresult; @@ -4686,6 +4946,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); return jresult; @@ -4752,6 +5017,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); return jresult; @@ -4816,6 +5086,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -4880,6 +5155,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -4944,6 +5224,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -5005,6 +5290,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -5067,6 +5357,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5131,6 +5426,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -5195,6 +5495,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5259,6 +5564,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5323,6 +5633,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5387,6 +5702,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5451,6 +5771,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -5515,6 +5840,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5579,6 +5909,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5643,6 +5978,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5707,6 +6047,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5771,6 +6116,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5835,6 +6185,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5896,6 +6251,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -5958,6 +6318,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -6022,6 +6387,11 @@ SWIGEXPORT int JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inter SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (int)result; return jresult; @@ -6086,6 +6456,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -6147,6 +6522,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6209,6 +6589,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -6270,6 +6655,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6329,6 +6719,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -6397,6 +6792,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -6461,6 +6861,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -6523,6 +6928,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6593,6 +7003,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -6662,6 +7077,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -6734,6 +7154,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6801,6 +7226,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -6867,6 +7297,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6938,6 +7373,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7007,6 +7447,11 @@ SWIGEXPORT jshort JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_in SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jshort)result; return jresult; @@ -7078,6 +7523,11 @@ SWIGEXPORT jshort JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_in SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jshort)*result; return jresult; @@ -7153,6 +7603,11 @@ SWIGEXPORT jshort JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_in SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jshort)result; return jresult; @@ -7224,6 +7679,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7283,6 +7743,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7360,6 +7825,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -7464,6 +7934,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); @@ -7529,6 +8004,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -7593,6 +8073,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -7654,6 +8139,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7716,6 +8206,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -7780,6 +8275,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -7844,6 +8344,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -7908,6 +8413,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< uint8_t > * >(new std::vector< uint8_t >(result)); return jresult; @@ -7969,6 +8479,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8028,6 +8543,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8094,6 +8614,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); @@ -8161,6 +8686,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8225,6 +8755,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -8286,6 +8821,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8357,6 +8897,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8423,6 +8968,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8487,6 +9037,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -8548,6 +9103,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8612,6 +9172,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8678,6 +9243,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8742,6 +9312,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -8803,6 +9378,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8874,6 +9454,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8940,6 +9525,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9004,6 +9594,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -9065,6 +9660,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -9127,6 +9727,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9191,6 +9796,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9255,6 +9865,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9319,6 +9934,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9386,6 +10006,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9453,6 +10078,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9520,6 +10150,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9587,6 +10222,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9654,6 +10294,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9721,6 +10366,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9788,6 +10438,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9855,6 +10510,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9916,6 +10576,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -9986,6 +10651,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10056,6 +10726,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10118,6 +10793,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10182,6 +10862,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -10249,6 +10934,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10311,6 +11001,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10328,6 +11023,12 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); if (!arg2) return ; } + + if (!arg2) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "The file name is null"); + return ; + } + { try { (arg1)->refreshData((char const *)arg2);; @@ -10377,6 +11078,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); } @@ -10472,6 +11178,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10535,6 +11246,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -10599,6 +11315,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -10663,6 +11384,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -10727,6 +11453,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -10791,6 +11522,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -10855,6 +11591,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -10919,6 +11660,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -10983,6 +11729,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -11047,6 +11798,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -11111,6 +11867,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -11172,6 +11933,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11234,6 +12000,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11296,6 +12067,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11358,6 +12134,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11427,6 +12208,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11489,6 +12275,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -11553,6 +12344,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -11617,6 +12413,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -11681,6 +12482,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -11745,6 +12551,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -11809,6 +12620,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11871,6 +12687,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11933,6 +12754,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11995,6 +12821,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -12059,6 +12890,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -12123,6 +12959,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -12184,6 +13025,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12243,6 +13089,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -12304,6 +13155,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12363,6 +13219,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -12424,6 +13285,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12519,6 +13385,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -12589,6 +13460,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); @@ -12651,6 +13527,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12713,6 +13594,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -12779,6 +13665,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -12843,6 +13734,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -12904,6 +13800,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12963,6 +13864,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -13025,6 +13931,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -13091,6 +14002,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -13155,6 +14071,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13221,6 +14142,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13285,6 +14211,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13351,6 +14282,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13415,6 +14351,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13481,6 +14422,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13545,6 +14491,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -13609,6 +14560,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13673,6 +14629,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13739,6 +14700,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -13803,6 +14769,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13864,6 +14835,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -13928,6 +14904,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -13990,6 +14971,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14052,6 +15038,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14114,6 +15105,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -14178,6 +15174,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -14242,6 +15243,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -14303,6 +15309,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14362,6 +15373,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -14424,6 +15440,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14484,6 +15505,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14544,6 +15570,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14604,6 +15635,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14664,6 +15700,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14726,6 +15767,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14788,6 +15834,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14850,6 +15901,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14912,6 +15968,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14974,6 +16035,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15036,6 +16102,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15098,6 +16169,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15167,6 +16243,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15229,6 +16310,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< CollectionConfig * >(new CollectionConfig(result)); return jresult; @@ -15293,6 +16379,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< CollectionConfig * >(new CollectionConfig(result)); return jresult; @@ -15357,6 +16448,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< CollectionConfig * >(new CollectionConfig(result)); return jresult; @@ -15421,6 +16517,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< CollectionConfig * >(new CollectionConfig(result)); return jresult; @@ -15485,6 +16586,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< CollectionConfig * >(new CollectionConfig(result)); return jresult; @@ -15549,6 +16655,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< CollectionConfig * >(new CollectionConfig(result)); return jresult; @@ -15613,6 +16724,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -15677,6 +16793,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -15741,6 +16862,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -15805,6 +16931,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -15869,6 +17000,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -15933,6 +17069,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -15997,6 +17138,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -16061,6 +17207,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -16122,6 +17273,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16181,6 +17337,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -16249,6 +17410,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -16313,6 +17479,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -16375,6 +17546,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16445,6 +17621,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -16514,6 +17695,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -16586,6 +17772,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16653,6 +17844,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -16719,6 +17915,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16790,6 +17991,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16859,6 +18065,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -16930,6 +18141,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)*result; return jresult; @@ -17005,6 +18221,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -17076,6 +18297,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17135,6 +18361,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17210,6 +18441,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -17311,6 +18547,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); @@ -17376,6 +18617,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -17440,6 +18686,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -17511,6 +18762,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -17582,6 +18838,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -17646,6 +18907,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -17710,6 +18976,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -17772,6 +19043,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17789,6 +19065,12 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); if (!arg2) return ; } + + if (!arg2) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "The file name is null"); + return ; + } + { try { (arg1)->refreshData((char const *)arg2);; @@ -17838,6 +19120,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); } @@ -17933,6 +19220,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17999,6 +19291,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18069,6 +19366,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); @@ -18154,6 +19456,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< uint32_t > * >(new std::vector< uint32_t >(result)); return jresult; @@ -18221,6 +19528,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18288,6 +19600,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18358,6 +19675,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); @@ -18420,6 +19742,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -18479,6 +19806,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18542,6 +19874,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18609,6 +19946,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_i SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -18670,6 +20012,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -18729,6 +20076,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18792,6 +20144,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18866,6 +20223,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::map< std::string,std::string,std::less< std::string > > * >(new std::map< std::string,std::string,std::less< std::string > >(result)); return jresult; @@ -18940,6 +20302,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::map< std::string,std::string,std::less< std::string > > * >(new std::map< std::string,std::string,std::less< std::string > >(result)); return jresult; @@ -19014,6 +20381,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::map< std::string,std::string,std::less< std::string > > * >(new std::map< std::string,std::string,std::less< std::string > >(result)); return jresult; @@ -19075,6 +20447,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -19157,6 +20534,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_inte SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } { if (jarg2) jenv->ReleaseByteArrayElements(jarg2, (jbyte *)arg2, JNI_ABORT); @@ -19238,6 +20620,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::string > * >(new Value< std::string >(result)); { @@ -19317,6 +20704,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< std::string > > * >(new Value< std::vector< std::string > >(result)); { @@ -19396,6 +20788,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); { @@ -19475,6 +20872,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); { @@ -19554,6 +20956,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_int SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); { @@ -19633,6 +21040,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_devicedetection_hash_engine_onpremise_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; { diff --git a/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp b/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp index 559c5af52..c29dbab31 100644 --- a/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp +++ b/ip-intelligence/ip-intelligence.engine.on-premise/src/main/cxx/Java_Ipi_Engine.cpp @@ -1147,6 +1147,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -1383,6 +1388,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -1734,6 +1744,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -1793,6 +1808,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -1857,6 +1877,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -1924,6 +1949,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1); @@ -1986,6 +2016,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -2048,6 +2083,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -2109,6 +2149,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -2173,6 +2218,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -2237,6 +2287,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -2301,6 +2356,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -2362,6 +2422,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -2421,6 +2486,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -2485,6 +2555,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -2549,6 +2624,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -2613,6 +2693,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -2674,6 +2759,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -2733,6 +2823,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -2797,6 +2892,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -2861,6 +2961,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -2925,6 +3030,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -2986,6 +3096,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -3045,6 +3160,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -3109,6 +3229,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -3173,6 +3298,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -3237,6 +3367,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -3298,6 +3433,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -3357,6 +3497,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -3421,6 +3566,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -3485,6 +3635,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -3549,6 +3704,11 @@ SWIGEXPORT jdouble JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jdouble)result; return jresult; @@ -3610,6 +3770,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -3669,6 +3834,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -3731,6 +3901,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -3805,6 +3980,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -3869,6 +4049,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -3935,6 +4120,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -4009,6 +4199,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< std::string > > * >(new Value< std::vector< std::string > >(result)); return jresult; @@ -4075,6 +4270,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< std::string > > * >(new Value< std::vector< std::string > >(result)); return jresult; @@ -4149,6 +4349,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::string > * >(new Value< std::string >(result)); return jresult; @@ -4215,6 +4420,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::string > * >(new Value< std::string >(result)); return jresult; @@ -4289,6 +4499,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); return jresult; @@ -4355,6 +4570,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); return jresult; @@ -4429,6 +4649,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); return jresult; @@ -4495,6 +4720,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); return jresult; @@ -4569,6 +4799,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); return jresult; @@ -4635,6 +4870,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); return jresult; @@ -4709,6 +4949,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); return jresult; @@ -4775,6 +5020,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); return jresult; @@ -4849,6 +5099,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); return jresult; @@ -4915,6 +5170,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); return jresult; @@ -4989,6 +5249,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); return jresult; @@ -5055,6 +5320,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); return jresult; @@ -5119,6 +5389,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -5183,6 +5458,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -5247,6 +5527,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -5308,6 +5593,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -5370,6 +5660,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5434,6 +5729,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -5498,6 +5798,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5562,6 +5867,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5626,6 +5936,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -5690,6 +6005,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5754,6 +6074,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -5818,6 +6143,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5882,6 +6212,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -5946,6 +6281,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -6010,6 +6350,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -6074,6 +6419,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -6138,6 +6488,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -6199,6 +6554,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6261,6 +6621,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -6325,6 +6690,11 @@ SWIGEXPORT int JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_swi SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (int)result; return jresult; @@ -6389,6 +6759,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -6450,6 +6825,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6512,6 +6892,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -6573,6 +6958,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6632,6 +7022,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -6700,6 +7095,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -6764,6 +7164,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -6826,6 +7231,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -6896,6 +7306,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -6965,6 +7380,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -7037,6 +7457,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7104,6 +7529,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -7170,6 +7600,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7241,6 +7676,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7310,6 +7750,11 @@ SWIGEXPORT jshort JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jshort)result; return jresult; @@ -7381,6 +7826,11 @@ SWIGEXPORT jshort JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jshort)*result; return jresult; @@ -7456,6 +7906,11 @@ SWIGEXPORT jshort JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jshort)result; return jresult; @@ -7527,6 +7982,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7604,6 +8064,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; { @@ -7671,6 +8136,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -7748,6 +8218,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -7852,6 +8327,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); @@ -7917,6 +8397,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -7981,6 +8466,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -8042,6 +8532,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8104,6 +8599,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -8168,6 +8668,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -8232,6 +8737,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -8296,6 +8806,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< uint8_t > * >(new std::vector< uint8_t >(result)); return jresult; @@ -8357,6 +8872,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8416,6 +8936,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8482,6 +9007,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); @@ -8549,6 +9079,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8613,6 +9148,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -8674,6 +9214,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -8745,6 +9290,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8811,6 +9361,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -8875,6 +9430,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -8936,6 +9496,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -9000,6 +9565,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9066,6 +9636,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9130,6 +9705,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -9191,6 +9771,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -9262,6 +9847,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9328,6 +9918,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9392,6 +9987,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -9453,6 +10053,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -9515,6 +10120,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9579,6 +10189,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9643,6 +10258,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9707,6 +10327,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9774,6 +10399,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9841,6 +10471,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9908,6 +10543,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -9975,6 +10615,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10042,6 +10687,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10109,6 +10759,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10176,6 +10831,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10243,6 +10903,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10304,6 +10969,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10374,6 +11044,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10444,6 +11119,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10506,6 +11186,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10570,6 +11255,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -10637,6 +11327,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -10699,6 +11394,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10716,6 +11416,12 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); if (!arg2) return ; } + + if (!arg2) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "The file name is null"); + return ; + } + { try { (arg1)->refreshData((char const *)arg2);; @@ -10765,6 +11471,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); } @@ -10860,6 +11571,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -10923,6 +11639,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -10987,6 +11708,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -11051,6 +11777,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -11115,6 +11846,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -11179,6 +11915,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -11243,6 +11984,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -11307,6 +12053,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -11371,6 +12122,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -11435,6 +12191,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -11499,6 +12260,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -11563,6 +12329,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -11634,6 +12405,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11696,6 +12472,11 @@ SWIGEXPORT jfloat JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jfloat)result; return jresult; @@ -11760,6 +12541,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -11824,6 +12610,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11883,6 +12674,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -11945,6 +12741,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< uint8_t > * >(new std::vector< uint8_t >(result)); return jresult; @@ -12016,6 +12817,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12078,6 +12884,11 @@ SWIGEXPORT jfloat JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jfloat)result; return jresult; @@ -12142,6 +12953,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -12206,6 +13022,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12265,6 +13086,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12327,6 +13153,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -12391,6 +13222,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12453,6 +13289,11 @@ SWIGEXPORT jfloat JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jfloat)result; return jresult; @@ -12517,6 +13358,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -12581,6 +13427,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12640,6 +13491,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12702,6 +13558,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -12766,6 +13627,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -12828,6 +13694,11 @@ SWIGEXPORT jfloat JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jfloat)result; return jresult; @@ -12892,6 +13763,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -12956,6 +13832,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -13015,6 +13896,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -13077,6 +13963,11 @@ SWIGEXPORT jdouble JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jdouble)result; return jresult; @@ -13141,6 +14032,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -13203,6 +14099,11 @@ SWIGEXPORT jfloat JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_ SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jfloat)result; return jresult; @@ -13267,6 +14168,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13331,6 +14237,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -13390,6 +14301,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -13449,6 +14365,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13510,6 +14431,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13571,6 +14497,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13666,6 +14597,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); @@ -13685,6 +14621,12 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0); if (!arg1) return 0; } + + if (!arg1) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "The IP address is null"); + return 0; + } + { try { result = (IpAddress *)new IpAddress((char const *)arg1);; @@ -13734,6 +14676,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1); @@ -13831,6 +14778,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -13894,6 +14846,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -13955,6 +14912,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14014,6 +14976,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -14082,6 +15049,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -14146,6 +15118,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -14208,6 +15185,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14281,6 +15263,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -14345,9 +15332,14 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; }; } - catch(invalid_argument& e) { + catch(invalid_argument& e) { + { + SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; + }; + } + catch(std::exception& e) { { - SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; }; } } @@ -14422,6 +15414,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14489,6 +15486,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -14558,6 +15560,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14632,6 +15639,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14701,6 +15713,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< std::string > >::value_type * >(new std::vector< WeightedValue< std::string > >::value_type(result)); return jresult; @@ -14772,6 +15789,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -14850,6 +15872,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< std::string > >::value_type * >(new std::vector< WeightedValue< std::string > >::value_type(result)); return jresult; @@ -14921,6 +15948,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -14980,6 +16012,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15039,6 +16076,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -15107,6 +16149,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -15171,6 +16218,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -15233,6 +16285,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15306,6 +16363,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -15375,6 +16437,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -15447,6 +16514,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15514,6 +16586,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -15583,6 +16660,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15657,6 +16739,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -15726,6 +16813,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< std::vector< unsigned char > > >::value_type * >(new std::vector< WeightedValue< std::vector< unsigned char > > >::value_type(result)); return jresult; @@ -15797,6 +16889,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -15875,6 +16972,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< std::vector< unsigned char > > >::value_type * >(new std::vector< WeightedValue< std::vector< unsigned char > > >::value_type(result)); return jresult; @@ -15946,6 +17048,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16005,6 +17112,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16064,6 +17176,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -16132,6 +17249,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -16196,6 +17318,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -16258,6 +17385,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16331,6 +17463,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -16400,6 +17537,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -16472,6 +17614,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16539,6 +17686,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -16608,6 +17760,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16682,6 +17839,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -16751,6 +17913,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< bool > >::value_type * >(new std::vector< WeightedValue< bool > >::value_type(result)); return jresult; @@ -16822,6 +17989,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -16900,6 +18072,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< bool > >::value_type * >(new std::vector< WeightedValue< bool > >::value_type(result)); return jresult; @@ -16971,6 +18148,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17030,6 +18212,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17089,6 +18276,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -17157,6 +18349,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -17221,6 +18418,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -17283,6 +18485,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17356,6 +18563,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -17425,6 +18637,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -17497,6 +18714,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17564,6 +18786,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -17633,6 +18860,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17707,6 +18939,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -17776,6 +19013,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< int > >::value_type * >(new std::vector< WeightedValue< int > >::value_type(result)); return jresult; @@ -17847,6 +19089,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -17925,6 +19172,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< int > >::value_type * >(new std::vector< WeightedValue< int > >::value_type(result)); return jresult; @@ -17996,6 +19248,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -18055,6 +19312,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -18114,6 +19376,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18182,6 +19449,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18246,6 +19518,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -18308,6 +19585,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -18381,6 +19663,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18450,6 +19737,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -18522,6 +19814,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -18589,6 +19886,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = result; return jresult; @@ -18653,9 +19955,14 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; }; } - catch(invalid_argument& e) { + catch(invalid_argument& e) { + { + SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; + }; + } + catch(std::exception& e) { { - SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; }; } } @@ -18732,6 +20039,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -18801,6 +20113,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< double > >::value_type * >(new std::vector< WeightedValue< double > >::value_type(result)); return jresult; @@ -18872,6 +20189,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -18950,6 +20272,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< double > >::value_type * >(new std::vector< WeightedValue< double > >::value_type(result)); return jresult; @@ -19021,6 +20348,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -19080,6 +20412,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -19139,6 +20476,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -19203,6 +20545,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -19267,6 +20614,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -19331,6 +20683,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< std::string > > * >(new std::vector< WeightedValue< std::string > >(result)); return jresult; @@ -19392,6 +20749,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -19451,6 +20813,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -19515,6 +20882,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -19579,6 +20951,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -19643,6 +21020,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< std::vector< uint8_t > > > * >(new std::vector< WeightedValue< std::vector< uint8_t > > >(result)); return jresult; @@ -19704,6 +21086,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -19763,6 +21150,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -19827,6 +21219,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -19891,6 +21288,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -19955,6 +21357,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< bool > > * >(new std::vector< WeightedValue< bool > >(result)); return jresult; @@ -20016,6 +21423,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -20075,6 +21487,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -20139,6 +21556,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -20203,6 +21625,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -20267,6 +21694,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< int > > * >(new std::vector< WeightedValue< int > >(result)); return jresult; @@ -20328,6 +21760,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -20387,6 +21824,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -20451,6 +21893,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -20515,6 +21962,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -20579,6 +22031,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< WeightedValue< double > > * >(new std::vector< WeightedValue< double > >(result)); return jresult; @@ -20640,6 +22097,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -20699,6 +22161,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -20763,6 +22230,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -20827,6 +22299,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -20891,6 +22368,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< IpAddress * >(new IpAddress(result)); return jresult; @@ -20952,6 +22434,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -21011,6 +22498,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -21075,6 +22567,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -21139,6 +22636,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } if (result) jresult = jenv->NewStringUTF((const char *)result); return jresult; @@ -21203,6 +22705,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< uint8_t > * >(new std::vector< uint8_t >(result)); return jresult; @@ -21264,6 +22771,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -21323,6 +22835,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -21395,6 +22912,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< std::string > > > * >(new Value< std::vector< WeightedValue< std::string > > >(result)); return jresult; @@ -21461,6 +22983,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< std::string > > > * >(new Value< std::vector< WeightedValue< std::string > > >(result)); return jresult; @@ -21535,6 +23062,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< std::vector< uint8_t > > > > * >(new Value< std::vector< WeightedValue< std::vector< uint8_t > > > >(result)); return jresult; @@ -21601,6 +23133,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< std::vector< uint8_t > > > > * >(new Value< std::vector< WeightedValue< std::vector< uint8_t > > > >(result)); return jresult; @@ -21675,6 +23212,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< uint8_t > > * >(new Value< std::vector< uint8_t > >(result)); return jresult; @@ -21741,6 +23283,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< uint8_t > > * >(new Value< std::vector< uint8_t > >(result)); return jresult; @@ -21817,6 +23364,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< std::string > > > * >(new Value< std::vector< WeightedValue< std::string > > >(result)); return jresult; @@ -21885,6 +23437,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< std::string > > > * >(new Value< std::vector< WeightedValue< std::string > > >(result)); return jresult; @@ -21959,6 +23516,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< bool > > > * >(new Value< std::vector< WeightedValue< bool > > >(result)); return jresult; @@ -22025,6 +23587,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< bool > > > * >(new Value< std::vector< WeightedValue< bool > > >(result)); return jresult; @@ -22099,6 +23666,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< int > > > * >(new Value< std::vector< WeightedValue< int > > >(result)); return jresult; @@ -22165,6 +23737,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< int > > > * >(new Value< std::vector< WeightedValue< int > > >(result)); return jresult; @@ -22239,6 +23816,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< double > > > * >(new Value< std::vector< WeightedValue< double > > >(result)); return jresult; @@ -22305,6 +23887,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< WeightedValue< double > > > * >(new Value< std::vector< WeightedValue< double > > >(result)); return jresult; @@ -22379,6 +23966,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< IpAddress > * >(new Value< IpAddress >(result)); return jresult; @@ -22445,6 +24037,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< IpAddress > * >(new Value< IpAddress >(result)); return jresult; @@ -22509,6 +24106,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< IpAddress > * >(new Value< IpAddress >(result)); return jresult; @@ -22590,6 +24192,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; { @@ -22657,6 +24264,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -22719,6 +24331,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -22776,9 +24393,14 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; }; } - catch(invalid_argument& e) { + catch(invalid_argument& e) { + { + SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; + }; + } + catch(std::exception& e) { { - SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; }; } } @@ -22843,6 +24465,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -22912,6 +24539,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -22974,6 +24606,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -23038,6 +24675,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -23102,6 +24744,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; return jresult; @@ -23166,6 +24813,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< std::vector< std::string > * >(new std::vector< std::string >(result)); return jresult; @@ -23230,6 +24882,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -23291,6 +24948,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -23355,6 +25017,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -23417,6 +25084,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -23479,6 +25151,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -23541,6 +25218,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -23605,6 +25287,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -23669,6 +25356,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jlong)result; return jresult; @@ -23730,6 +25422,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -23789,6 +25486,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -23851,6 +25553,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -23911,6 +25618,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -23971,6 +25683,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -24031,6 +25748,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -24091,6 +25813,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -24153,6 +25880,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -24215,6 +25947,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24279,6 +26016,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24343,6 +26085,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24407,6 +26154,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24471,6 +26223,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24535,6 +26292,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24599,6 +26361,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24663,6 +26430,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24727,6 +26499,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24791,6 +26568,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24855,6 +26637,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -24919,6 +26706,11 @@ SWIGEXPORT jint JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jint)result; return jresult; @@ -24980,6 +26772,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -25039,6 +26836,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -25100,6 +26902,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -25159,6 +26966,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -25220,6 +27032,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -25295,6 +27112,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -25396,6 +27218,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); @@ -25461,6 +27288,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -25525,6 +27357,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -25596,6 +27433,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Date * >(new Date(result)); return jresult; @@ -25667,6 +27509,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -25731,6 +27578,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -25795,6 +27647,11 @@ SWIGEXPORT jstring JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = jenv->NewStringUTF((&result)->c_str()); return jresult; @@ -25857,6 +27714,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -25874,6 +27736,12 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); if (!arg2) return ; } + + if (!arg2) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "The file name is null"); + return ; + } + { try { (arg1)->refreshData((char const *)arg2);; @@ -25923,6 +27791,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); } @@ -26018,6 +27891,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -26084,6 +27962,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -26154,6 +28037,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); @@ -26255,6 +28143,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); @@ -26323,6 +28216,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong(result); return jresult; @@ -26384,6 +28282,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } } @@ -26466,6 +28369,11 @@ SWIGEXPORT void JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_sw SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return ; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return ; + }; + } } { if (jarg2) jenv->ReleaseByteArrayElements(jarg2, (jbyte *)arg2, 0); @@ -26547,6 +28455,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::string > * >(new Value< std::string >(result)); { @@ -26626,6 +28539,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< std::vector< std::string > > * >(new Value< std::vector< std::string > >(result)); { @@ -26705,6 +28623,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< bool > * >(new Value< bool >(result)); { @@ -26784,6 +28707,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< int > * >(new Value< int >(result)); { @@ -26863,6 +28791,11 @@ SWIGEXPORT jlong JNICALL Java_fiftyone_ipintelligence_engine_onpremise_interop_s SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = fiftyoneToJlong< Value< double > * >(new Value< double >(result)); { @@ -26942,6 +28875,11 @@ SWIGEXPORT jboolean JNICALL Java_fiftyone_ipintelligence_engine_onpremise_intero SWIG_JavaException(jenv, SWIG_ValueError, e.what()); return 0; }; } + catch(std::exception& e) { + { + SWIG_JavaException(jenv, SWIG_RuntimeError, e.what()); return 0; + }; + } } jresult = (jboolean)result; {