boolean uncaught) {
// Prepare corresponding event
byte eventKind = JDWPConstants.EventKind.EXCEPTION;
byte suspendPolicy = JDWPConstants.SuspendPolicy.ALL;
EventMod[] mods = new EventMod[1];
mods[0] = new EventMod();
mods[0].modKind = EventMod.ModKind.ExceptionOnly;
mods[0].caught = caught;
mods[0].uncaught = uncaught;
mods[0].exceptionOrNull = exceptionID;
Event event = new Event(eventKind, suspendPolicy, mods);