(MonitorWaitRequest) event.request(), waitEvent.monitor(),
waitEvent.timeout(), waitEvent.location() );
}
else if ( event instanceof MonitorWaitedEvent )
{
MonitorWaitedEvent waitedEvent = (MonitorWaitedEvent) event;
handler.onMonitorEndWait( suspension, event.virtualMachine(), waitedEvent.thread(),
(MonitorWaitedRequest) event.request(), waitedEvent.monitor(),
waitedEvent.timedout(), waitedEvent.location() );
}
else if ( event instanceof ExceptionEvent )
{
ExceptionEvent exceptionEvent = (ExceptionEvent) event;
handler.onExceptionThrown( suspension, exceptionEvent.virtualMachine(), exceptionEvent.thread(),