improved debugging output at referenceVar errors
This commit is contained in:
parent
77d17196a7
commit
b8d0b13ccf
|
@ -491,7 +491,9 @@ public class ContikiMoteType implements MoteType {
|
||||||
int referenceVar = (int) varMem.getVariable("referenceVar").addr;
|
int referenceVar = (int) varMem.getVariable("referenceVar").addr;
|
||||||
myCoreComm.setReferenceAddress(referenceVar);
|
myCoreComm.setReferenceAddress(referenceVar);
|
||||||
} catch (UnknownVariableException e) {
|
} catch (UnknownVariableException e) {
|
||||||
throw new MoteTypeCreationException("JNI call error: " + e.getMessage(), e);
|
throw new MoteTypeCreationException("Error setting reference variable: " + e.getMessage(), e);
|
||||||
|
} catch (RuntimeException e) {
|
||||||
|
throw new MoteTypeCreationException("Error setting reference variable: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
|
|
||||||
getCoreMemory(tmp);
|
getCoreMemory(tmp);
|
||||||
|
|
Loading…
Reference in a new issue