xbt_mutex_t mutex = (xbt_mutex_t)(uintptr_t)env->GetLongField(obj, jsynchro_field_Mutex_bind);
try {
xbt_mutex_acquire(mutex);
- }
- catch(xbt_ex& e) {
- // Nothing to do
+ } catch (xbt_ex const& e) {
+ XBT_DEBUG("Caught an exception: %s", e.what());
}
}