]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Removed unnecessary print from fmu simulator (refs #3398)
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 10 Jul 2013 12:43:13 +0000 (12:43 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 10 Jul 2013 12:43:13 +0000 (12:43 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27702 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.fmu.me.win32/libraries/FMUSimulator.dll
org.simantics.fmu/FMUSolution/FMUSimulator/src/fmu_control.cpp

index c3085ec637003f23313fbac3cdff45184c543c45..dc1720d9de1d62368003054266f243b725ccde41 100644 (file)
Binary files a/org.simantics.fmu.me.win32/libraries/FMUSimulator.dll and b/org.simantics.fmu.me.win32/libraries/FMUSimulator.dll differ
index 67ddd47841dea6c876e58deeb783fecd612032dc..e3952fee37cd1b2f7330722d98c8b5717a456211 100644 (file)
@@ -401,9 +401,7 @@ JNIEXPORT jboolean JNICALL Java_org_simantics_fmu_FMUControlJNI_isInitialized_1
                env->ReleaseStringUTFChars(id, fmuId);\r
                return fmuStruct.initialized;\r
        } else {\r
-               string message = fmuId;\r
                env->ReleaseStringUTFChars(id, fmuId);\r
-               throwException(env, "getTime: Model id " + message + " not found");\r
                return false;\r
        }\r
 }\r
@@ -487,7 +485,7 @@ JNIEXPORT jdoubleArray JNICALL Java_org_simantics_fmu_FMUControlJNI_getSubscribe
        } else {\r
                string message = fmuId;\r
                env->ReleaseStringUTFChars(id, fmuId);\r
-               throwException(env, "getTime: Model id " + message + " not found");\r
+               throwException(env, "getSubscribedResults: Model id " + message + " not found");\r
        }\r
        \r
        return result;\r